摘要: 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... 阅读全文
posted @ 2012-06-05 13:02 因为你 阅读(259) 评论(0) 推荐(0) 编辑