日期:2014-05-18 浏览次数:20423 次
int current_week = DateTime.Now.Day / 7 + ((DateTime.Now.Day % 7 == 0) ? 0 : 1); ------解决方案-------------------- (DateTime.Today.Day+12-(int)DateTime.Today.DayOfWeek)/7以星期天作为每周第一天