#34475 [Bgs]: servers: echo date("T",time());
| From: | huanguuq at 163 dot com | Date: | Tue, 13 Sep 2005 05:05:49 +0000 |
| Subject: | #34475 [Bgs]: servers: echo date("T",time()); | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-84968@lists.php.net to get a copy of this message | ||
ID: 34475
User updated by: huanguuq at 163 dot com
Reported By: huanguuq at 163 dot com
Status: Bogus
Bug Type: Date/time related
Operating System: window2003
PHP Version: 5.1.0RC2
New Comment:
Have not solved the substantive problem
<?php echo date("T",time()); ?>
It is correct that my computer in php4.4.0
Previous Comments:
------------------------------------------------------------------------
[2005-09-12 11:31:05] nlopess@php.net
You can use: 'Etc/GMT-8' or 'Asia/Taipei', for example.
Read the note on this page: http://php.net/date_default_timezone_set
------------------------------------------------------------------------
[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...
------------------------------------------------------------------------
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