in your scripting use this
<br />
If DateValue(sDate) < DateValue(eDate) Then<br />
datevalid=true<br />
end if<br />
if your using a HTML form to enter the 2 dates into text boxes then to get it into variables use
<br />
sDate= Request.form("sDate")<br />
eDate= Request.form("eDate")<br />
<br />
hope this helps
yes it is a inbuild function for asp using vbscripting