以下是引用yms123在2010-12-20 14:55:14的发言:
http://hailan9875.blog.
VBScript里有一个叫做Weekday函数可以返回星期几上面是函数解释
楼上给出的不是正解!
以下才是正解========================
dateadd("d",date,2-weekday(date)
dateadd("d",date,3-weekday(date)
dateadd("d",date,4-weekday(date)
dateadd("d",date,5-weekday(date)
dateadd("d",date,6-weekday(date)
dateadd("d",date,7-weekday(date)
dateadd("d",date,8-weekday(date)