|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-01-30 22:58 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 15 22:00:02 2025 UTC |
Description: ------------ When I calculatethe 2005-10-31 date whith the script above, it will write out wrong date! That is valable just for 2005-10-31!!! Reproduce code: --------------- <?php $k1=date("d",(strtotime(2005-10-28)+3*86400)); echo $k1."\n" ;// = 30 but must be 31 ? Expected result: ---------------- 31 Actual result: -------------- 30