#25592 [Opn->Bgs]: Get wrong timezone and time
| From: | sniper@php.net | Date: | Fri, 19 Sep 2003 03:17:39 +0000 |
| Subject: | #25592 [Opn->Bgs]: Get wrong timezone and time | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-47808@lists.php.net to get a copy of this message | ||
ID: 25592
Updated by: sniper@php.net
Reported By: pennington at rhodes dot edu
-Status: Open
+Status: Bogus
Bug Type: Date/time related
Operating System: Windows NT SP6a
PHP Version: 4.3.3
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.
Thank you for your interest in PHP.
see bug #23467
Previous Comments:
------------------------------------------------------------------------
[2003-09-18 10:54:05] pennington at rhodes dot edu
Description:
------------
For some reason, the reported time when I execute a date() command
changes. When I shutdown the IIS service and start it up, it will
report (for a while) the correct time, date, and timezone from the time
set on the Windows server. However, after some time has passed (and
this may be related to traffic on the server), the server will start
reporting UTC time and the "BST" timezone. Only the hour and timezone
entries change (the minutes and everything else stays in sync with the
Windows server).
I am using Tikiwiki with this server and I thought the problemw was
related to the timezone.php class issues that I found details about in
bugs.php.net, but since the time does report back (for a while, anyway)
correctly when I am not going through Tikiwiki, I don't think that
Tikiwiki is related at all. To that end, I've created a page to show
the time information:
https://connect.rhodes.edu/test/timezone.php
Note that the time that is being reported is GMT (5 hours in advance of
us in CST). Also note the "BST" timezone.
Reproduce code:
---------------
echo "Date from Server via date - D M j G:i:s T Y - : ".date("D M j
G:i:s T Y");
Expected result:
----------------
Date from Server via date - D M j G:i:s T Y - : Thu Sep 18 09:54:56 CST
2003
Actual result:
--------------
Date from Server via date - D M j G:i:s T Y - : Thu Sep 18 14:54:56 BST
2003
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25592&edit=1