Re: Checking a date
| From: | fasta | Date: | Mon, 07 Apr 2003 10:37:54 +0000 |
| Subject: | Re: Checking a date | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142816@lists.php.net to get a copy of this message | ||
Try ereg() function.
Ciao
Andrea Fastame
shaun wrote:
Hi, I have a form on my page with a date field, how can i check that the user has entered a valid date (i.e. a date that exists) and it is in the format YYYY-MM-DD ? Thanks for your help