会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
deepwishly
博客园
首页
新随笔
联系
订阅
管理
2010年6月27日
c#获取二个时间之前的天数
摘要: DateTime t1 = Convert.ToDateTime("1999-8-9"); DateTime t2 = Convert.ToDateTime("2007-8-19"); TimeSpan ts = t2 - t1; int d = ts.Days;d就是间隔的天数
阅读全文
posted @ 2010-06-27 21:39 deepwishly
阅读(207)
评论(0)
推荐(0)
编辑
公告