fork(3) download
  1. using System;
  2. using System.Globalization;
  3. using System.Linq;
  4. using System.Collections.Generic;
  5.  
  6. public class Test
  7. {
  8.  
  9.  
  10. public static void Main()
  11. {
  12. Console.Write(DateTime.ParseExact("04/09/2013 8:09:10 PM","dd/MM/yyyy h:mm:ss tt", CultureInfo.InvariantCulture));;
  13. }
  14. }
Success #stdin #stdout 0.08s 34968KB
stdin
Standard input is empty
stdout
9/4/2013 8:09:10 PM