note 3897 deleted from ref.datetime by vincent
| From: | vincent@php.net | Date: | Fri, 12 Sep 2003 06:01:34 +0000 |
| Subject: | note 3897 deleted from ref.datetime by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-56300@lists.php.net to get a copy of this message | ||
Note Submitter: adm@imexis.com
----
The quick and easy to convert a mysql timestamp is to use the UNIX_TIMESTAMP(field_name) function in
mysql when you query the data. It converts a 14-digit mysql timestamp to a standard unix timestamp.