From: pennington at rhodes dot edu Operating system: Windows 2000 PHP version: 4.3.3 PHP Bug Type: Date/time related Bug description: Windows PHP always returns UTC time and BST as the timezone
Description: ------------ The Windows version of PHP 4.3.3 does not return the system's time when the date() command is used. It only returns UTC time and "BST" as the timezone, even when the Windows server is set to use local time and reports as such in the Date/Time control panel. Please note that this is different than bug #23467 because the time being reported is wrong (UTC rather than the local CST), in addition to the wrong "BST" timezone. Reproduce code: --------------- echo date("D M j G:i:s T Y"); Expected result: ---------------- Fri Oct 10 13:28:58 CST 2003 Actual result: -------------- Fri Oct 10 18:28:58 BST 2003 -- Edit bug report at http://bugs.php.net/?id=25825&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25825&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25825&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25825&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25825&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25825&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25825&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25825&r=support Expected behavior: http://bugs.php.net/fix.php?id=25825&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25825&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25825&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25825&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25825&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25825&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25825&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25825&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25825&r=float