note 5308 modified in ref.datetime by irc-html
| From: | irc-html@php.net | Date: | Sun, 20 Jan 2002 01:32:12 +0000 |
| Subject: | note 5308 modified in ref.datetime by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25546@lists.php.net to get a copy of this message | ||
Regarding the postings regarding MySQL timestamps, please be aware that there are several MySQL date
and time types, as documented at
http://www.mysql.com/Manual_chapter/manual_Reference.html#Date_and_time_types
So, in reference to the above posts, nic_lee's algorhythm works on the MySQL TIMESTAMP type,
while jmat's function works on the MySQL DATETIME type -- they are NOT the same!
--was--
Regarding the postings regarding MySQL timestamps, please be aware that there are several MySQL date
and time types, as documented at
http://www.mysql.com/Manual_chapter/manual_Reference.html#Date_and_time_types
So, in reference to the above posts, nic_lee's algorhythm works on the MySQL TIMESTAMP type,
while jmat's function works on the MySQL DATETIME type -- they are NOT the same!
http://www.php.net/manual/en/ref.datetime.php