标签:div another his datetime this ast new get 获取
1 DateTime dtFirstDay = new DateTime(DateTime.Now.Year, 1, 1); 2 DateTime dtLastDay = dtFirstDay.AddYears(1).AddDays(-1); 3 // Another way to get the last day of this year. 4 DateTime dtLastDay = new DateTime(DateTime.Now.Years, 12, 31);
标签:div another his datetime this ast new get 获取
原文地址:http://www.cnblogs.com/avin/p/7857012.html