骄傲小公主

导航

2014年7月5日 #

C#比较两个时间大小

摘要: DateTime t1 = Convert.ToDateTime("2012-12-31 23:59:00"); DateTime t2 = Convert.ToDateTime("2013-1-1 00:01:00"); TimeSpan ts = t2 - t1; int ss = Conve... 阅读全文

posted @ 2014-07-05 11:42 骄傲小公主 阅读(621) 评论(2) 推荐(0) 编辑