note 42154 deleted from ref.mysql by tomsommer

From: Date: Wed, 05 May 2004 15:24:37 +0000
Subject: note 42154 deleted from ref.mysql by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-69247@lists.php.net to get a copy of this message
Note Submitter: paul@bughunt3r.com ---- If you need to convert a MySQL timestamp into a Unix timestamp try this function: <?php function st2ut ($t) { $year = substr ($t, 0, 4); $month = substr ($t, 4, 2); $day = substr ($t, 6, 2); $hour = substr ($t, 8, 2); $minute = substr ($t, 10, 2); $second = substr ($t, 12, 2); return mktime ($hour, $minute, $second, $month, $day, $year); } ?>

« previous php.notes (#69247) next »