Re: checking user input of MM-DD-YYYY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan 15, 2008 9:27 AM, Adam Williams <awilliam@xxxxxxxxxxxxxxxx> wrote:

> I'm having users enter dates in MM-DD-YYYY format.  is there a way to
> check if what they have entered is invalid (like if they enter 1-15-2008
> instead of 01-15-2008) ?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

strtotime() might be an option too.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux