note 15272 deleted from function.date by jimw
| From: | jimw@php.net | Date: | Fri, 02 Nov 2001 01:13:09 +0000 |
| Subject: | note 15272 deleted from function.date by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-20103@lists.php.net to get a copy of this message | ||
The best way to get a PHP readable timestamp from a mysql is to use UNIX_TIMESTAMP().
But make sure you use UNIX_TIMESTAMP(field) as field, otherwise it will get returned as
"UNIX_TIMESTAMP(field)".
Thanks to rasmus@SPAMCAN.lvcm.com who posted on 02-May-2001 05:51
Hope this helps!