#23646 [Opn->Bgs]: different timezone for different timestamps
| From: | derick@php.net | Date: | Thu, 15 May 2003 19:52:45 +0000 |
| Subject: | #23646 [Opn->Bgs]: different timezone for different timestamps | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-39734@lists.php.net to get a copy of this message | ||
ID: 23646
Updated by: derick@php.net
Reported By: p dot vukadinov at bers-soft dot com
-Status: Open
+Status: Bogus
Bug Type: Date/time related
Operating System: linux
PHP Version: 4.3.1
New Comment:
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)
Previous Comments:
------------------------------------------------------------------------
[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