PHP 4.0 Bug #7699: date and gmdate not working
| From: | steve at szabos dot com | Date: | Wed, 08 Nov 2000 13:40:19 +0000 |
| Subject: | PHP 4.0 Bug #7699: date and gmdate not working | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37427@lists.php.net to get a copy of this message | ||
From: steve@szabos.com
Operating system: Windows 2000 Advanced Server
PHP version: 4.0.3pl1
PHP Bug Type: Date/time related
Bug description: date and gmdate not working
The date and gmdate functions are not reporting the correct timezone on my system. I am using the
ISAPI DLL on W2K-AS.
Using "Z" format with "date" function results in 18000 on my system. This is
"500" in hours. It should by "-0500" since my computer is in the Eastern time
zone.
Also, contrary to the note on the documentation, "gmdate" is returning a non-zero value
when given "Z". The doc says that gmdate should always return zero for the timezone, which
makes sense.
Any assistance is appreciated. I hardcoded my timezone for now (yuk).
Steve
steve@szabos.com
--
Edit Bug report at: http://bugs.php.net/?id=7699&edit=1