note 29850 added to function.getdate
| From: | Juhan at rack1 dot php dot net | Date: | Wed, 26 Feb 2003 19:56:55 +0000 |
| Subject: | note 29850 added to function.getdate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-44568@lists.php.net to get a copy of this message | ||
There is a little syntax error in previous note.
The line:
$weeknr=floor(($date["yday']+1)/7)+1;
should be:
$weeknr=floor(($date["yday"]+1)/7)+1;
--
http://www.php.net/manual/en/function.getdate.php
http://master.php.net/manage/user-notes.php?action=edit+29850
http://master.php.net/manage/user-notes.php?action=delete+29850
http://master.php.net/manage/user-notes.php?action=reject+29850