ID: 34475 Updated by: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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