note 54992 deleted from function.checkdate by cece
| From: | cece@php.net | Date: | Tue, 15 Nov 2005 14:36:52 +0000 |
| Subject: | note 54992 deleted from function.checkdate by cece | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-98593@lists.php.net to get a copy of this message | ||
Note Submitter: Matt Browne
----
A correction to my previous post - the regular expression should be:
'^([0-9]{1,2})[-,/]([0-9]{1,2})[-,/](([0-9]{2})|([0-9]{4}))$'
to make sure the input string contains only the date and nothing else.