note 10028 deleted from function.time by jimw
| From: | jimw@php.net | Date: | Sat, 08 Dec 2001 23:55:14 +0000 |
| Subject: | note 10028 deleted from function.time by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-22392@lists.php.net to get a copy of this message | ||
for a really simple solution to converting a MySQL timestamp without using the unix_timestamp
function of MySQL see the second example of the split function http://www.php.net/manual/function.split.php.
this could also probably be extended to support more by changing the regex to something like
"/[^\d]/".