Comunque...
codice:
<form>
<%
inizio = cDate("01/01/2005")
fine = date()
annoInizio = datePart("yyyy",inizio)
annoFine = datePart("yyyy",fine)
%>
<select name="semestri">
<%
for i = annoInizio to annoFine
if i = annoFine then
%>
<option value="1° semestre <%=i%>">1° semestre <%=i%></option>
<%
if datePart("m",fine) > 5 then
%>
<option value="2° semestre <%=i%>">2° semestre <%=i%></option>
<%
end if
else
%>
<option value="1° semestre <%=i%>">1° semestre <%=i%></option>
<option value="2° semestre <%=i%>">2° semestre <%=i%></option>
<%
end if
next
%>
</select>
</form>