note 29220 added to function.date

From: Date: Thu, 06 Feb 2003 11:40:13 +0000
Subject: note 29220 added to function.date
Groups: php.notes 
Request: Send a blank email to php-notes+get-43508@lists.php.net to get a copy of this message
I want to post the date for the last 7 days in the format of: February 06, 2003 February 05, 2003 etc.... When I post <?php print date("F d, Y"); ?> it gives me the correct date, but when I add <?php print date("F d, Y")-1; ?> for the next date it doesn't work. Any help? -- http://www.php.net/manual/en/function.date.php http://master.php.net/manage/user-notes.php?action=edit+29220 http://master.php.net/manage/user-notes.php?action=delete+29220 http://master.php.net/manage/user-notes.php?action=reject+29220

« previous php.notes (#43508) next »