关于时间的问题,各位帮忙解决一下!!
asp中的根据年月日计算星期几的代码,一直说类型不对,该怎样设置类型。这个weekday的输入的格式是“#2005/04/01#”<%
dim myDate,myWeek
myDate=request.form("ss") ’ss是文本框的名字
myWeek=WeekDay(myDate)
select case myWeek
case 1 Response.Write "星期日"
case 2 Response.Write "星期一"
case 3 Response.Write "星期二"
case 4 Response.Write "星期三"
case 5 Response.Write "星期四"
case 6 Response.Write "星期五"
case 7 Response.Write "星期六"
end select
%>