fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. DateTime a = DateTime.Parse("2020/5/30 12:00:00 AM");
  8. a = a.AddHours(12);
  9. Console.WriteLine(a);
  10. }
  11. }
Success #stdin #stdout 0.02s 17608KB
stdin
Standard input is empty
stdout
5/30/2020 12:00:00 PM