note 54314 added to function.date
| From: | stuff at rushsoft dot de | Date: | Thu, 30 Jun 2005 09:13:19 +0000 |
| Subject: | note 54314 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-91190@lists.php.net to get a copy of this message | ||
ISO 8601:2000 defines:
[...] day of the year is represented by three decimal digits. The first day of any year is
represented by [001] and
subsequent days are numbered in ascending sequence [...]
So don't forget increasing the return value of date("z") by one to be ISO conform, if
you use this, for instance, on presentation level.
----
Manual Page -- http://www.php.net/manual/en/function.date.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54314
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54314&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54314&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54314&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54314&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54314&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54314&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54314&report=yes
Search -- http://master.php.net/manage/user-notes.php