摘要:
以下内容转自http://www.cnblogs.com/musickh/archive/2009/07/16/1524912.html,在此多谢博主!DateTime.Now=2009-7-16 5:20:56//今天DateTime.Now.Date.ToString(); "2009-7-16 0:00:00"//周起始日期DateTime.Now.Date.AddDays(-(int)(DateTime.Now.DayOfWeek)+1).ToString(); {2009-7-13 0:00:00} DateTime.Now.Date.AddDays(7-(int 阅读全文