From: sani at loyolajesuit dot org Operating system: Win2K server/Win XP PHP version: 4CVS-2005-01-16 (stable) PHP Bug Type: Date/time related Bug description: Wrong Timezone Returned in Win2K
Description: ------------ I have a duplicate PHP installation on a Windows 2000 Server and Windows XP systems. When I ussue date('r') command on Windows XP this is the output: COMMAND: print(date("r")); OUTPUT: Sun, 16 Jan 2005 05:09:48 +0100 However on Windows 2000, I get a different result: COMMAND: print(date("r")); OUTPUT" Sun, 16 Jan 2005 04:09:52 +0000 I'll appreciate any help resolving this issue. Sani. Reproduce code: --------------- print(date("r")); Expected result: ---------------- Sun, 16 Jan 2005 05:09:48 +0100 Actual result: -------------- On Windows 2000: Sun, 16 Jan 2005 04:09:48 +0000 On Windows XP: Sun, 16 Jan 2005 05:09:48 +0100 -- Edit bug report at http://bugs.php.net/?id=31565&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31565&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31565&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31565&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31565&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31565&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31565&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31565&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31565&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31565&r=support Expected behavior: http://bugs.php.net/fix.php?id=31565&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31565&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31565&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31565&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31565&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31565&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31565&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31565&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31565&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31565&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31565&r=mysqlcfg