ID:               36818
 Updated by:       [EMAIL PROTECTED]
 Reported By:      liber at iproom dot com
-Status:           Closed
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: Windows XP
 PHP Version:      5.1.2
 New Comment:

no bug -> bogus


Previous Comments:
------------------------------------------------------------------------

[2006-03-22 04:24:24] liber at iproom dot com

can use date_default_timezone_set() to solve this problem.

------------------------------------------------------------------------

[2006-03-22 04:05:24] liber at iproom dot com

Description:
------------
time()

On Windows XP:
it will shows UTC time.

On Linux:
it will shows local time correctly.

Reproduce code:
---------------
echo date("Y-m-d H:i:s",time());

Expected result:
----------------
return local time

Actual result:
--------------
return UTC time


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36818&edit=1

Reply via email to