ID: 35440 Updated by: [EMAIL PROTECTED] Reported By: akselbondoe at hotmail dot com -Status: Assigned +Status: Feedback Bug Type: Date/time related Operating System: Windows XP PHP Version: 5.1.0 Assigned To: derick New Comment:
Works fine for me on Linux. Does the value you get from php differ from the one shown here: http://www.timeanddate.com/worldclock/city.html?n=187 Previous Comments: ------------------------------------------------------------------------ [2005-11-28 11:11:23] akselbondoe at hotmail dot com Description: ------------ Timezone for Europe/Oslo is 1 hour slow. Php shows for example 10:00 when the actual time in Oslo is 11:00. Reproduce code: --------------- <? putenv("TZ=Europe/Oslo"); echo date("d.m.Y - H:i:s"); ?> Expected result: ---------------- example: 28.11.2005 - 02:02:14 Actual result: -------------- example: 28.11.2005 - 03:02:14 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35440&edit=1