note 74382 deleted from function.mktime by derick
| From: | derick@php.net | Date: | Sat, 26 Jul 2008 10:05:08 +0000 |
| Subject: | note 74382 deleted from function.mktime by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142771@lists.php.net to get a copy of this message | ||
Note Submitter: Julian
----
Simple date compare:
mktime(0, 0, 0) >= mktime(0, 0, 0, $_POST['MonthVld'], $_POST['DayVld'],
$_POST['YrVld'])
mktime(0, 0, 0) creates a unix time of the current date.
mktime(0, 0, 0, $_POST['MonthVld'], $_POST['DayVld'], $_POST['YrVld'])
creates a unix time of the date that your user enters.