note 22652 added to function.strtotime
| From: | jam at newimage dot com | Date: | Wed, 26 Jun 2002 03:04:16 +0000 |
| Subject: | note 22652 added to function.strtotime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32206@lists.php.net to get a copy of this message | ||
strtotime() does not parse times from postgresql's timestamp type correctly.
I am using php 4.1.2 with postgresql 7.2.1
The problem is that postgres uses a floating point number to represent the seconds, which
strtotime() cannot deal with.
A patch to getdate.y will resolve the problem, but I am not sure whom to contact to get this fixed.
--
http://www.php.net/manual/en/function.strtotime.php
http://master.php.net/manage/user-notes.php?action=edit+22652
http://master.php.net/manage/user-notes.php?action=delete+22652
http://master.php.net/manage/user-notes.php?action=reject+22652