Displaying page
of
pages;
Items to
Title |
Test
Details
date validation javascript
|
Expression |
^((((0?[13578]|1[02])\/([0-2]?[1-9]|20|3[0-1]))|((0?[469]|11)\/([0-2]?[1-9]|20|30))|(0?2\/([0-1]?[1-9]|2[0-8])))\/((19|20)?\d{2}))|(0?2\/29\/((19|20)?(04|08|12|16|20|24|28|32|36|40|44|48|52|56|60|64|68|72|76|80|84|88|92|96)|2000))$
|
Description |
Check that a valid date has been entered. Uses mm/dd/yyyy or m/d/yy format or various combinations. Checks for valid leap years.
|
Matches |
2/28/1990 2/29/1992 03/1/10
|
Non-Matches |
2/29/90 11/31/2010
|
Author |
Rating:
Not yet rated.
Terry Shannon
|
Displaying page
of
pages;
Items to