note 10028 added to time

From: Date: Fri, 08 Dec 2000 06:06:56 +0000
Subject: note 10028 added to time
Groups: php.notes 
Request: Send a blank email to php-notes+get-8515@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]/". http://www.php.net/manual/function.time.php

« previous php.notes (#8515) next »