From: pennington at rhodes dot edu Operating system: Windows NT SP6a PHP version: 4.3.3 PHP Bug Type: Date/time related Bug description: Get wrong timezone and time
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 bug report at http://bugs.php.net/?id=25592&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25592&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25592&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25592&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25592&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25592&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25592&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25592&r=support Expected behavior: http://bugs.php.net/fix.php?id=25592&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25592&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25592&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25592&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25592&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25592&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25592&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25592&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25592&r=float