#23646 [Com]: different timezone for different timestamps

From: Date: Sat, 17 May 2003 18:52:34 +0000
Subject: #23646 [Com]: different timezone for different timestamps
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39849@lists.php.net to get a copy of this message
ID: 23646 Comment by: langdraad at hotmail dot com Reported By: p dot vukadinov at bers-soft dot com Status: Bogus Bug Type: Date/time related Operating System: linux PHP Version: 4.3.1 New Comment: Is this a confirmed problem? I have the same thing. When i refresh a page it gives GMT CEST or GMT-1. Whatever it likes. There seems to be no logic. A test example is at http://dave.puxie.nl/timetest php version 4.3.1 apache 2.0 gentoo linux Previous Comments: ------------------------------------------------------------------------ [2003-05-15 14:52:44] derick@php.net We are happy to tell you that you just discovered Daylight Savings Time. For more information see: http://webexhibits.org/daylightsaving/b.html Instead of using mktime/date consider using gmmktime and gmdate which do not suffer from DST. EET Eastern Europe Time UTC+2 hours Athens during winter EEST Eastern Europe Summer Time UTC+3 hours Athens during summer (from http://www.timeanddate.com/time/abbreviations.html) ------------------------------------------------------------------------ [2003-05-15 14:30:02] p dot vukadinov at bers-soft dot com My system is: PHP 4.3.1 Apache 1.3.27 on Linux box (kernel 2.4.20) with glibc 2.3.1 When i use date('T') with different timestmas i get different results date('T m.d.Y',307573767) - 01.10.1979 EEST date('T m.d.Y',307577835) - 01.10.1979 EET date from BASH console returns EEST ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23646&edit=1

« previous php.bugs (#39849) next »