|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-03-30 07:20 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 12:00:01 2025 UTC |
Description: ------------ echo date('Y-m-d H:i:s',strtotime('2009-02-30 00:00:00')); this code return "2009-03-02 00:00:00" instead of "2009-02-30 00:00:00" Reproduce code: --------------- echo date('Y-m-d H:i:s',strtotime('2009-02-30 00:00:00')); Expected result: ---------------- 2009-02-30 00:00:00