|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-07-05 23:22 UTC] derick@php.net
[2005-07-05 23:33 UTC] derick@php.net
[2005-07-11 17:35 UTC] jeremy at techtrav dot com
[2005-07-11 18:55 UTC] derick@php.net
[2005-07-20 12:19 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 00:00:02 2025 UTC |
Description: ------------ I just updated from 5.0.4 to 5.1.0b2 to test on my windows box. strtotime seems to be very messed up returning compeletely wrong dates. Reproduce code: --------------- <? echo date('m/d/Y', strtotime('Oct 11')); echo '<br>'; echo date('m/d/Y', strtotime('11 Oct')); echo '<br>'; echo date('m/d/Y', strtotime('11 Oct 2005')); ?> Expected result: ---------------- 10/11/2005 10/11/2005 10/11/2005 Actual result: -------------- 10/10/2005 07/05/2005 10/10/2005