Re: Checking a date for validity
| From: | Ben | Date: | Wed, 07 Sep 2005 23:26:17 +0000 |
| Subject: | Re: Checking a date for validity | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-222001@lists.php.net to get a copy of this message | ||
Todd Cary wrote:
My need has to do with claimants for class action lawsuits, so I guess having drop downs for months, days and years is one answer.Drop down menus can certainly make your life easier, especially if you're dealing with an international audience and wondering what order to put the year, month, and day. Once the info has been submitted you can check them against the checkdate function (http://ca3.php.net/manual/en/function.checkdate.php) to make sure they're valid (ie February 31st, etc.). - Ben