ID: 38650 Updated by: [EMAIL PROTECTED] Reported By: hebbs at visualanalysis dot com -Status: Open +Status: Bogus Bug Type: Date/time related Operating System: WIndows XP PHP Version: 5.1.5 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Set the timezone with the following setting: http://no.php.net/manual/en/ref.datetime.php#ini.date.timezone Previous Comments: ------------------------------------------------------------------------ [2006-08-30 06:53:11] hebbs at visualanalysis dot com Description: ------------ time() Reproduce code: --------------- echo date("Y-m-d H:i:s",time()); Expected result: ---------------- Result to show correct time. Php.ini via PHPINFO() to show Date -> Default TimeZone correctly. Actual result: -------------- On computer with time set to any GMT+08:00 time zone the result shows UTC time. Viewing php.ini file via phpinfo() shows default time zone as UTC. Change computer time to ANY other time zone, restart apache result shows correct time and phpinfo() shows default time zone correctly. PHP Version ----------- 5.1.4 (Not displayed on select.) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38650&edit=1
