|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-11-02 12:19 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 09:00:01 2025 UTC |
Description: ------------ echo date('Y-m-d', strtotime('2007-10-28') + 24*3600); returns 2007-10-28 which is wrong, you need 3600 seconds more to get 2007-10-29 Reproduce code: --------------- echo date('Y-m-d', strtotime('2007-10-28') + 24*3600); Expected result: ---------------- 2007-10-29 Actual result: -------------- 2007-10-28