note 53623 deleted from function.date by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 03:01:18 +0000 |
| Subject: | note 53623 deleted from function.date by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142014@lists.php.net to get a copy of this message | ||
Note Submitter: witcho at gmail dot com
----
When using 'z' it should be used as how many days have passed since the beginning of the
year; not as the day of the year.
"January 1" is the day 1 of the year not the day 0.
Better to add 1 when using 'z' if you really want to know the day of the year.