摘要: 方法一:DateTime dt1 = Convert.ToDateTime("2013-09-30");DateTime dt2 = DateTime.Now;int count = Convert.ToInt32((dt2 - dt1).TotalDays) - 1;count即为dt1距离dt2... 阅读全文
posted @ 2014-09-28 16:07 Iwin9999 阅读(2466) 评论(0) 推荐(0)