<%
dim dayNum,theYear,theMonth
theYear=2005
theMonth=2
'根据前面年、和月来计算该月有几天
dayNum=Day(DateAdd("d",-1,DateAdd("m",1,Cdate(theYear & "-" & theMonth & "-1"))))
response.write dayNum
%>
<%
dim dayNum,theYear,theMonth
theYear=2005
theMonth=2
'根据前面年、和月来计算该月有几天
dayNum=Day(DateAdd("d",-1,DateAdd("m",1,Cdate(theYear & "-" & theMonth & "-1"))))
response.write dayNum
%>