try the checkdate() function. i think that will do what you need.
On Monday, March 31, 2003, at 11:06 PM, Ben C. wrote:
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.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php