|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-06-18 20:03 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 07:00:01 2025 UTC |
Description: ------------ Adding 1 or 2 days to a string to time of November 3rd, 2007 reproduces the same output. 86400 seconds = 24 hours. Reproduce code: --------------- <?php echo date("Y-n-j", (1194062400 + 86400)) . '<br />'; echo date("Y-n-j", (1194062400 + 172800)); ?> Expected result: ---------------- 2007-11-4 2007-11-5 Actual result: -------------- 2007-11-4 2007-11-4