Grazie al seguente breve script, è possibile selezionare una data tramite 3 menu a tendina. Il formato della data sarà gg/mm/aa.
<form name="dtForm" method="post" action="elabora.asp">
<table width="470" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="117">
<div align="center">
<select name="giorno">
<%
for ctInd=1 to 31
%>
<option value="<%=ctInd%>"><%=ctInd%></option>
<%
next
%>
</select>
</div>
</td>
<td width="117">
<div align="center">
<select name="mese">
<%
for ctInd=1 to 12
%>
<option value="<%=ctInd%>"><%= monthName(ctInd)%></option>
<%
next
%>
</select>
</div>
</td>
<td width="118">
<div align="center">
<select name="anno">
<%
for ctInd=datePart("yyyy",now) to datePart("yyyy",now) - 100 step -1
%>
<option value="<%=ctInd%>"><%=ctInd%></option>
<%
next
%>
</select>
</div>
</td>
<td width="118">
<div align="center">
<input type="submit" name="Submit" value="Invia Data">
</div>
</td>
</tr>
</table>
</form>