Thursday, January 13, 2011

C# 时间相减,得到天数、小时、分钟、秒差 - C# - 大马资讯论坛 - 马来西亚中文资讯平台 Blogger Blogspot Blog

DateTime dtone = Convert.ToDateTime(2007-1-1 05:00:00); DateTime dtwo = Convert.ToDateTime(2007-1-5 08:00:00); TimeSpan ts1 = dtwo - dtone;//这样 ...

http://www.freeinfo.com.my/viewthread.php?tid=1593

0 comments:

Post a Comment