2013年4月11日
摘要: DateTime startDate = new DateTime(dt.Year, dt.Month,GetFirstMonday(dt.Year, dt.Month)); DateTime endDate = DateTime.MaxValue; startDate = startDate.AddDays(1 - (int)startDate.DayOfWeek); endDate = startDate.AddDays(28).AddSeconds(-1);//获取当月第一周第一天是多号 private static int GetFirstM... 阅读全文
posted @ 2013-04-11 11:05 harry 刘 阅读(1374) 评论(0) 推荐(0)