Compairing Dates

I am not much aware of javascript. I want to compare the two dates. I have written the code but it does not work in overall.

 Start Date: <input type="text" name="startDate" size="12">

 <br>

 End Date: <input type="text" name="endDate" size="12">

 <a href="javascript:Compare();">Compare</a>

If the user enters “8/1/2005” for the Start Date and “8/2/2005” for the End Date, the script works. But if the user enters “8/1/2005” and “11/01/2005” the script does not work.

Can anyone please give the code to compare the start date and the end date.

Subject: Compairing Dates

A search of this forum provided me with these two options:

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/89f5e206c2fb3c1b85256f1e0012f8cf?OpenDocument

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/8d864d003881c28485256d8a006dddc5?OpenDocument

HTH.

Gregg