codice:
<select name="giorno">
<%
for ctInd=1 to 31
%>
<option value="<%=ctInd%>"<% if datePart("d",date) = ctInd then %> selected="selected"<% end if %>><%=ctInd%></option>
<%
next
%>
</select>
</div>
</td>
<td width="10%">
<div align="center">
<select name="mese">
<%
for ctInd=1 to 12
%>
<option value="<%=ctInd%>"<% if datePart("m",date) = ctInd then %> selected="selected"<% end if %>><%= monthName(ctInd)%></option>
<%
next
%>
</select>
</div>
</td>
<td width="6%">
<div align="center">
<select name="anno">
<%
for ctInd=datePart("yyyy",now) to datePart("yyyy",now) - 100 step -1
%>
<option value="<%=ctInd%>"<% if datePart("yyyy",date) = ctInd then %> selected="selected"<% end if %>><%=ctInd%></option>
<%
next
%>
</select>