#34292 [Opn->Fbk]: Timezone setting

From: Date: Mon, 29 Aug 2005 11:23:43 +0000
Subject: #34292 [Opn->Fbk]: Timezone setting
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-84114@lists.php.net to get a copy of this message
ID: 34292 Updated by: sniper@php.net Reported By: Admin at relax-info dot com -Status: Open +Status: Feedback Bug Type: Date/time related Operating System: Windows XP SP2 PHP Version: 5.1.0RC1 New Comment: Have you set date.timezone php.ini setting correctly? (what is it?) Previous Comments: ------------------------------------------------------------------------ [2005-08-29 00:55:24] Admin at relax-info dot com Sorry, Expected result: ---------------- Sun, 28 Aug 2005 01:44:05 +0300 ------------------------------------------------------------------------ [2005-08-29 00:51:18] Admin at relax-info dot com Description: ------------ PHP don't give proper weigh Timezone setting of my machine. Difference to Greenwich time (GMT) in hours = 0 Reproduce code: --------------- <?php $timestamp = 1125267228; print_r(date('r', $timestamp)); ?> Expected result: ---------------- Sun, 28 Aug 2005 01:44:05 +0200 Actual result: -------------- Sun, 28 Aug 2005 22:44:05 +0000 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34292&edit=1

« previous php.bugs (#84114) next »