|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-11-20 04:47 UTC] derick@php.net
[2001-11-20 22:35 UTC] jmcastagnetto@php.net
[2001-11-20 22:39 UTC] jmcastagnetto@php.net
[2001-11-20 23:03 UTC] mail-php dot net at kimihia dot org dot nz
[2001-11-23 05:56 UTC] mail-php dot net at kimihia dot org dot nz
[2001-11-23 06:05 UTC] mfischer@php.net
[2001-11-23 06:13 UTC] mail-php dot net at kimihia dot org dot nz
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 17:00:02 2025 UTC |
There seems to be some voodoo in this script ... for ( $i = -7 ; $i < 28 ; $i ++ ) { $day = date('d'); print "\ndate is $day "; $day = $day + $i; print " after adding $i is $day "; } And output ends up looking like so: date is 20 after adding -7 is 135122101