日期:2014-05-16 浏览次数:20895 次
查询
<select name="tbyear" id="tbyear" class="ibox">
<%for i=2000 to 2107
if year(date())=i then
response.write "<option value="&i&" selected>"&i&"</option>"
else
response.write "<option value="&i&">"&i&"</option>"
end if
next
%>
</select>
年
<select name="tbmonth" id="tbmonth" class="ibox">
<%for i=1 to 12
if month(date())=i then
response.write "<option value="&i&" selected>"&i&"</option>"
else
response.write "<option value="&i&">"&i&"</option>"
end if
next
%>
</select>
月
第
<select name="week" id="week" class="ibox">
<%for i=1 to 53
if weekday(date())=i then
response.write "<option value="&i&" selected>"&i&"</option>"
else
response.write "<option value="&i&">"&i&"</option>"
end if
next
%>
</select>
周
<select name="y" id="y"></select>