ID: 35422
Updated by: [EMAIL PROTECTED]
Reported By: HyneeHoadley at Hotmail dot com
-Status: Open
+Status: Assigned
Bug Type: Date/time related
Operating System: Windows XP
PHP Version: 5.1.0
-Assigned To:
+Assigned To: derick
New Comment:
Assigned to the author.
Previous Comments:
------------------------------------------------------------------------
[2005-11-27 10:11:17] HyneeHoadley at Hotmail dot com
Description:
------------
strtotime() used to accept dates with the format 'July 1, 2000 00:00:00
UTC', but now produces NULL or empty output.
Reproduce code:
---------------
<?php
$gmt_time = strtotime('July 1, 2000 00:00:00 GMT');
$utc_time = strtotime('July 1, 2000 00:00:00 UTC');
echo "$gmt_time\n";
echo "$utc_time\n";
print_r($utc_time);
?>
Expected result:
----------------
962409600
962409600
962409600
Actual result:
--------------
962409600
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35422&edit=1