note 76238 deleted from function.date by felipe
| From: | felipe@php.net | Date: | Sun, 09 Dec 2007 13:31:18 +0000 |
| Subject: | note 76238 deleted from function.date by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-132987@lists.php.net to get a copy of this message | ||
Note Submitter: hunterd1972 at gmail dot com
----
concatenate the values of each select statement to form the date into a month day, year format (i.e.
January 1, 2007) and then use the strtotime function.
<?php
$timestamp = strtotime($month . " " . $day . ", " . $year);
?>