note 7463 deleted from function.strtotime by jimw
| From: | jimw@php.net | Date: | Fri, 14 Dec 2001 20:51:21 +0000 |
| Subject: | note 7463 deleted from function.strtotime by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-22786@lists.php.net to get a copy of this message | ||
The lost day "bug" I think has to do with the timestamp. At least in my case if you do not
specify a time on your date then when the date is inserted into you db with a unix time stamp it
inserts 00:00:00 or something like that... according to php that is not actually the day but the day
before. so Tue Jul 11 00:00:00 2000 PDT is seen by php as Wed Jul 10 2000 since the hours, minutes
and seconds are all zero.
-joel