摘要: SELECT DATEDIFF(day, '2009-01-01', '2010-01-01')DateTime dt= DateTime.Parse("2001-02-12"); DateTime dt2=DateTime.Parse("2002-05-19"); TimeSpan ts=dt2-dt; Response.Write(ts.Days.ToString()); 阅读全文
posted @ 2010-03-05 16:03 回忆的颜色 阅读(212) 评论(0) 推荐(0) 编辑