note 14689 added to function.date.php
| From: | simon at blueshell dot dk | Date: | Thu, 09 Aug 2001 13:18:17 +0000 |
| Subject: | note 14689 added to function.date.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16509@lists.php.net to get a copy of this message | ||
A way to calculate the week number without the use of strftime('%W');
print ceil(date('z') / 7);
http://www.php.net/manual/en/function.date.php