digitalroom.net javascript & cgi javascript & cgi

Date Selector

(JavaScript 1.0/JScript 1.0 compatible)

The form is passed through a JavaScript function which will make sure that a valid date is entered. The year select menu will get the current year and display the next 10 years automatically (leap years are also taken into account). If the date is correct, then the JavaScript function returns true, which submits the form to the specified CGI script

You should use the dynamic date selector unless you require compatibility with Netscape 3.0 and IE 3.0)

To verify functionality, you may test dates such as the following:

Leap years are defined under the following criteria:

Updated on July 24, 1999