Validate MySQL date
| From: | Ben C. | Date: | Tue, 01 Apr 2003 04:06:05 +0000 |
| Subject: | Validate MySQL date | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-141776@lists.php.net to get a copy of this message | ||
How do I easily check to see if a MySQL formatted date is valid such as if a
user enters
2003/02/28 would return true
2003/02/31 would return false
I have check the manual and other resources but can't come up with anything.
--------------------------------------------------------------------------
The content of this email message and any attachments are confidential and
may be legally privileged, intended solely for the addressee. If you are
not the intended recipient, be advised that any use, dissemination,
distribution, or copying of this e-mail is strictly prohibited. If you
receive this message in error, please notify the sender immediately by reply
email and destroy the message and its attachments.