Here is a function that may be helpful.  The bad part is that I never 
finished it, so it only accepts dates in the MDY format...


BTW... If you already have a connection to MySQL, you could send simple 
queries to it to take advantage of its large amount of date 
functions.  This is probably not optimal though!

-Jason Garber

At 08:56 PM 9/20/2001 -0700, you wrote:
>ey guys.. how do i check if the postdata is a valid time format? something
>like '2001-09-15'
>I hate it when they'll be entering garbage in it...
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to