#40856 [Opn->Fbk]: Problems with tijuana time zone

From: Date: Mon, 19 Mar 2007 18:05:43 +0000
Subject: #40856 [Opn->Fbk]: Problems with tijuana time zone
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-110504@lists.php.net to get a copy of this message
ID: 40856 Updated by: derick@php.net Reported By: sergio dot santana at softtek dot com -Status: Open +Status: Feedback Bug Type: Date/time related Operating System: Windows XP PRO PHP Version: 5.2.1 New Comment: What does the following output: <?php echo date_default_timezone_get(), "\n"; ?> Previous Comments: ------------------------------------------------------------------------ [2007-03-19 17:45:28] sergio dot santana at softtek dot com Description: ------------ I have various scripts that work at 12am daily, but it seems that they are running now at 11pm (one hour before it shoud), i work with the GMT -8(tijuana) time zone, i use de date function and returns the date and time of the GMT -8(pacific) time zone, it is not a major problem now, but it could be in future appz this time difference in other places, thanks for reading my message. Reproduce code: --------------- //use the GMT-8(tijuana) time zone //and compare the displayed time with the system time echo date("d-m-y H:i:s"); Expected result: ---------------- get the same system and displayed time (variance of 1 hour now) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40856&edit=1

« previous php.bugs (#110504) next »