#34475 [Bgs]: servers: echo date("T",time());

From: Date: Mon, 12 Sep 2005 09:31:10 +0000
Subject: #34475 [Bgs]: servers: echo date("T",time());
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-84916@lists.php.net to get a copy of this message
ID: 34475 Updated by: nlopess@php.net Reported By: huanguuq at 163 dot com Status: Bogus Bug Type: Date/time related Operating System: window2003 PHP Version: 5.1.0RC2 New Comment: You can use: 'Etc/GMT-8' or 'Asia/Taipei', for example. Read the note on this page: http://php.net/date_default_timezone_set Previous Comments: ------------------------------------------------------------------------ [2005-09-12 10:48:01] huanguuq at 163 dot com I set up php.ini file date.timezone ="GMT +8:00" OR date.timezone ="+8:00" Also restart the computer again Have not changed , show UTC it not automatic check timezone function? ------------------------------------------------------------------------ [2005-09-12 10:06:52] sniper@php.net If it shows UTC and you have not set it with the "date.timezone" setting in php.ini -> it works as expected. ------------------------------------------------------------------------ [2005-09-12 10:00:20] huanguuq at 163 dot com no,no my OS is chinese window2003 my friend test in php 4.3.4 is right ------------------------------------------------------------------------ [2005-09-12 09:49:42] derick@php.net Works fine here... ------------------------------------------------------------------------ [2005-09-12 09:17:44] huanguuq at 163 dot com PHP Version 5.1.0RC2-dev <?php echo date("T",time()); ?> Have not changed , show UTC ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/34475 -- Edit this bug report at http://bugs.php.net/?id=34475&edit=1

« previous php.bugs (#84916) next »