javascript & cgi javascript & cgi

Dynamic Date Selector

(JavaScript 1.1/JScript 3.0 compatible)

The form allows the user to select a date, ensuring that the selected date is valid. The year select menu will get the current year and display the next 10 years automatically (leap years are also taken into account). The days menu is modified dynamically when appropriate when the month or year is changed. Because of this, it is essentially impossible to select an invalid date.

Leap years are defined under the following criteria:

Created on January 23, 1998