fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. DateTime d = Convert.ToDateTime("2/22/2012 3:30:00");
  8. Console.WriteLine("Got the date {0} after parsing.", d);
  9. }
  10. }
Success #stdin #stdout 0.04s 38160KB
stdin
Standard input is empty
stdout
Got the date 2/22/2012 3:30:00 AM after parsing.