fork download
  1. using System;
  2. using static System.Console;
  3.  
  4. public class Program {
  5. public static void Main() => WriteLine((new DateTime(2017, 09, 10, 11, 45, 00).Date - new DateTime(2017, 09, 09, 11, 45, 20).Date).TotalDays);
  6. }
  7.  
  8. //https://pt.stackoverflow.com/q/236093/101
Success #stdin #stdout 0.02s 16416KB
stdin
Standard input is empty
stdout
1