note 25575 added to function.strtotime

From: Date: Sat, 28 Sep 2002 18:39:05 +0000
Subject: note 25575 added to function.strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-37370@lists.php.net to get a copy of this message
If you are trying to reformat timestamps stored in a MySQL database, there is no need for the time function. Instead use the UNIX_TIMESTAMP function built into MySQL. Example: "SELECT UNIX_TIMESTAMP(field_name) FROM table_name" Details at: http://www.mysql.com/doc/en/Date_and_time_functions.html -- http://www.php.net/manual/en/function.strtotime.php http://master.php.net/manage/user-notes.php?action=edit+25575 http://master.php.net/manage/user-notes.php?action=delete+25575 http://master.php.net/manage/user-notes.php?action=reject+25575

« previous php.notes (#37370) next »