From: da_boost at hotmail dot com Operating system: FreeBSD 5.1-RELEASE #0 PHP version: 4.3.1 PHP Bug Type: Date/time related Bug description: gmdate() problem
Description: ------------ this code is supposed to return the same as date() because my timezone is GMT +1 Reproduce code: --------------- echo "Date: ".date('d/m/Y H:i:s'); echo "<br />"; echo "Gmdate: ".gmdate('d/m/Y H:i:s', time() + 3600); Expected result: ---------------- Date: 17/07/2003 14:03:06 Gmdate: 17/07/2003 14:03:06 Actual result: -------------- Date: 17/07/2003 14:03:06 Gmdate: 17/07/2003 13:03:06 -- Edit bug report at http://bugs.php.net/?id=24691&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24691&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24691&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24691&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24691&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24691&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24691&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24691&r=support Expected behavior: http://bugs.php.net/fix.php?id=24691&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24691&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24691&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24691&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24691&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24691&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24691&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24691&r=gnused