Edit report at http://bugs.php.net/bug.php?id=52429&edit=1
ID: 52429 Updated by: [email protected] Reported by: patrice dot flahault at accessprinting dot fr Summary: date_default_timezone error -Status: Open +Status: Feedback Type: Bug Package: Date/time related Operating System: centos 5.5 PHP Version: 5.3.3 New Comment: Are you sure you haven't done something else wrong? I just fired up a Centos VM and tried it: <?php date_default_timezone_set('Europe/Paris'); echo date("H:i:s"); echo "\n"; date_default_timezone_set('Europe/Madrid'); echo date("H:i:s"); The output is: 18:08:25 18:08:25 No 6-hour difference there. Previous Comments: ------------------------------------------------------------------------ [2010-07-24 18:01:48] patrice dot flahault at accessprinting dot fr Description: ------------ The time zone Europe/Paris gives a wrong time. date_default_timezone_set('Europe/Paris'); should be the same as : date_default_timezone_set('Europe/Madrid'); but there is a 6 hour difference. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52429&edit=1
