#22935 [Opn->Bgs]: Date function is 16 hours off
| From: | rasmus@php.net | Date: | Thu, 27 Mar 2003 21:42:18 +0000 |
| Subject: | #22935 [Opn->Bgs]: Date function is 16 hours off | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36615@lists.php.net to get a copy of this message | ||
ID: 22935
Updated by: rasmus@php.net
Reported By: james_clent at splwg dot com
-Status: Open
+Status: Bogus
Bug Type: Date/time related
Operating System: WIN2000
PHP Version: 4.3.0
New Comment:
You probably want gmdate() if you are expecting it to return the GMT
epoch
Previous Comments:
------------------------------------------------------------------------
[2003-03-27 15:29:57] james_clent at splwg dot com
When doing this simple function date("H:i:s",1) php returns 16:00:01.
Testing with other values still finds this issue.
Haven't seen this as reported out there so assume 4.3.1 has same bug
still.
Thank you,
James
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22935&edit=1