PHP 4.0 Bug #7699 Updated: date and gmdate not working
| From: | sniper@php.net | Date: | Thu, 18 Jan 2001 14:56:47 +0000 |
| Subject: | PHP 4.0 Bug #7699 Updated: date and gmdate not working | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44481@lists.php.net to get a copy of this message | ||
ID: 7699
Updated by: sniper
Reported By: steve@szabos.com
Old-Status: Open
Status: Closed
Bug Type: Date/time related
Assigned To:
Comments:
This should be fixed in CVS now.
Fix will be included in 4.0.5 when it is released.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-11-08 14:40:18] steve@szabos.com
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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7699