note 46900 deleted from function.date by nlopess
| From: | nlopess@php.net | Date: | Sat, 30 Jul 2005 16:48:33 +0000 |
| Subject: | note 46900 deleted from function.date by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-92764@lists.php.net to get a copy of this message | ||
Note Submitter: jacQues at imperium dot be
----
The 'z' option is indeed 1..365 and does NOT take into account leap days... if you want to
know the TRUE day number, use:
$realday = date('z')+(date('L') and date('m')>2? 1: 0);
jacQues