Re: Checking a date
| From: | fasta | Date: | Tue, 08 Apr 2003 08:27:27 +0000 |
| Subject: | Re: Checking a date | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142817@lists.php.net to get a copy of this message | ||
Sorry, i ment checkdate()
fasta wrote:
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