摘要:
1 public static int DateDiffDay(DateTime DateTimeOld, DateTime DateTimeNew) 2 { 3 TimeSpan ts1 = new TimeSpan(DateTimeOld.Ticks); 4 TimeSpan ts2 = new TimeSpan(DateTimeNew.Ticks); 5 TimeSpan ts = ts1.Subtract(ts2).Duration(); 6 int day... 阅读全文