L ljqljq Unregistered / Unconfirmed GUEST, unregistred user! 2001-07-03 #2 假设TdateTime date,调用方法int m=date.DayOfWeek(); 则星期一的日期是date-m+2,星期六的日期是date+(7-m);
W wind_cloudy Unregistered / Unconfirmed GUEST, unregistred user! 2001-07-03 #3 int m=date1.DayOfWeek();应该改为m=dayofweek(date1)
英 英雄无敌 Unregistered / Unconfirmed GUEST, unregistred user! 2001-07-04 #5 星期一:date-dayofweek(date)+2 星期日:date+7-dayofweek(date)