Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
^(19[0-9]{2}|[2-9][0-9]{3})-((0(1|3|5|7|8)|10|12)-(0[1-9]|1[0-9]|2[0-9]|3[0-1])|(0(4|6|9)|11)-(0[1-9]|1[0-9]|2[0-9]|30)|(02)-(0[1-9]|1[0-9]|2[0-9]))\x20(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}$
|
Description |
Checks for the format yyyy-MM-dd HH:mm:ss
also known as SortableDateTimePattern (conforms to ISO 8601) using local time. From 1900-01-01 00:00:00 to 9999-12-31 23:59:59. No check for leap year.
|
Matches |
2004-07-12 14:25:59 | 1900-01-01 00:00:00 | 9999-12-31 23:59:59
|
Non-Matches |
04-07-12 14:25:59 | 20004-07-12 14:25 | 2004/07/12 14:25:59
|
Author |
Rating:
Jens Ulrik Jacobsen
|
Displaying page
of
pages;
Items to