Date Converting
| From: | KEN - 2mediaZone | Date: | Sun, 11 May 2003 03:30:46 +0000 |
| Subject: | Date Converting | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-147182@lists.php.net to get a copy of this message | ||
Hello, I'm a beginner and trying to convert specific date format to UNIX
time stamp format.
Let's say I have 03/04/2003 (mm/dd/yyyy).
$date = "03/04/2003";
list ($month, $date, $year ) = explode('/', $date);
$formatted_date = $month.$date.$year;
And I need to make $formatted_date variable to UNIX time stamp format some
how.
Please advise if anyone knows about this.
Thanks.
Ken