note 29850 deleted from function.getdate by vincent
| From: | vincent@php.net | Date: | Thu, 14 Aug 2003 08:42:16 +0000 |
| Subject: | note 29850 deleted from function.getdate by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54140@lists.php.net to get a copy of this message | ||
Note Submitter: Juhan from .EE
----
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;