ID: 37137
Updated by: [EMAIL PROTECTED]
Reported By: eyglys at yahoo dot com dot br
-Status: Open
+Status: Feedback
Bug Type: Date/time related
Operating System: Linux
PHP Version: 5.1.2
New Comment:
Might not be a bug... what timezone are you in? (check phpinfo()
output, the date section)
Previous Comments:
------------------------------------------------------------------------
[2006-04-19 19:29:09] eyglys at yahoo dot com dot br
Description:
------------
Using mktime to make date 2006-10-15 00:00:00 , produce 2006-10-15
01:00:00
Reproduce code:
---------------
<?
$date = mktime(0,0,0,10,15,2006);
echo date("Y-m-d H:i:s",$date);
?>
Expected result:
----------------
2006-10-15 00:00:00
Actual result:
--------------
2006-10-15 01:00:00
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37137&edit=1