标签:style blog color sp div log bs 时间 as
1 DateTime oldDate = new DateTime(2002,7,15); 2 DateTime newDate = DateTime.Now; 3 // Difference in days, hours, and minutes. 4 TimeSpan ts = newDate - oldDate; 5 // Difference in days. 6 int differenceInDays = ts.Days;
标签:style blog color sp div log bs 时间 as
原文地址:http://www.cnblogs.com/listened/p/4107953.html