note 17981 added to function.date
| From: | hdanaherNO_SPAM at earthlink dot net | Date: | Sun, 06 Jan 2002 00:08:01 +0000 |
| Subject: | note 17981 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-24444@lists.php.net to get a copy of this message | ||
The date(z) function returns a number 1 less than the day-of-year input. i.e. january 1st is day 0.
date(Z)+1 returns a corrected day-of-year.
--
http://www.php.net/manual/en/function.date.php
http://master.php.net/manage/user-notes.php?action=edit+17981
http://master.php.net/manage/user-notes.php?action=delete+17981
http://master.php.net/manage/user-notes.php?action=reject+17981