note 38869 deleted from function.getdate by nlopess

From: Date: Fri, 09 Jan 2004 16:49:28 +0000
Subject: note 38869 deleted from function.getdate by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-63210@lists.php.net to get a copy of this message
Note Submitter: roebert@arcor.de ---- sorry there is a little failure in the script case 0 must look like this: case 0: $day7 = $today; $day6 = getdate(time()-86400); $day5 = getdate(time()-86400*2); $day4 = getdate(time()-86400*3); $day3 = getdate(time()-86400*4); $day2 = getdate(time()-86400*5); $day1 = getdate(time()-86400*6); break;

« previous php.notes (#63210) next »