<script language = "vbs">
dim data,weekdayname
data=date()
weekdaynum=datepart("w",data)
select case weekdaynum
case 1
weekdayname="星期日"
case 2
weekdayname="星期一"
case 3
weekdayname="星期二"
case 4
weekdayname="星期三"
case 5
weekdayname="星期四"
case 6
weekdayname="星期六"
case 7
weekdayname="星期日"
end select