fork download
  1. using System;
  2.  
  3. namespace Test
  4. {
  5. class Program
  6. {
  7. public static void Main()
  8. {
  9. var d1 = (new DateTime(2000, 1, 3, 18, 0, 0)).AddDays(4535).Ticks;
  10. var d2 = (new DateTime(2000, 1, 3, 18, 0, 0)).AddMonths(149).Ticks;
  11.  
  12. Console.WriteLine(d1);
  13. Console.WriteLine(d2);
  14. }
  15. }
  16. }
Success #stdin #stdout 0.04s 37064KB
stdin
Standard input is empty
stdout
634743432000000000
634743432000000000