日期转换星期的问题急????
<%Function WeekDay_Name(TheDate)
WeekArray = split(",日,一,二,三,四,五,六,",",")
WeekDayNo = weekday(TheDate)
WeekDay_Name = "星期"& WeekArray(WeekDayNo)
End Function
%>
<%=WeekDay_Name(date())%>
这样子不是只能显示天的日期吗?我把DATE()转换成我搜索的日期。不过我搜索的是2006-4-20至2006-4-26六天。
该怎么写法,急啊。