note 5308 modified in Date and Time functions by ronabop
| From: | ronabop@php.net | Date: | Fri, 18 Aug 2000 04:33:53 +0000 |
| Subject: | note 5308 modified in Date and Time functions by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2389@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!
http://www.php.net/manual/date-and-time-functions.php