ID:          50051
 Updated by:  [email protected]
 Reported By: tailinchu at gmail dot com
-Status:      Open
+Status:      Feedback
 Bug Type:    Date/time related
 PHP Version: 5.2.11
 New Comment:

Thank you for your bug report.

The string you supply, 200910, is not a complete date. Why do you think
this should return 2009-10-01?


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

[2009-11-01 20:29:16] tailinchu at gmail dot com

Description:
------------
strtotime() cannot create correct timestamp.

Reproduce code:
---------------
echo date('Ymd',strtotime('200910'));

Expected result:
----------------
20091001

Actual result:
--------------
20091101


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


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

Reply via email to