codice:
<select name="giorno">
<%
for g = 1 to 31
%>
<option value="<%=g%>"<% if g = datePart("d",date()) then %> selected="selected"<% end if %>><%=g%></option>
<%
next
%>
</select>
<select name="mese">
<%
for m = 1 to 12
%>
<option value="<%=m%>"<% if m = datePart("m",date()) then %> selected="selected"<% end if %>><%=monthName(m)%></option>
<%
next
%>
</select>
<select name="anno">
<%
for a = 2000 to 2020
%>
<option value="<%=a%>"<% if a = datePart("yyyy",date()) then %> selected="selected"<% end if %>><%=a%></option>
<%
next
%>
</select>