note 9432 added to strtotime

From: Date: Thu, 02 Nov 2000 19:48:54 +0000
Subject: note 9432 added to strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-7305@lists.php.net to get a copy of this message
Here is a 1 line trick to convert a MySQL time into a timestamp : $time = mktime( substr( $sqltime, 0, 2), substr( $sqltime, 3, 2)); Simple, but i didn't find it in the suggestions ! http://www.php.net/manual/function.strtotime.php

« previous php.notes (#7305) next »