note 69920 added to function.date
| From: | vosechu at create-on dot com | Date: | Tue, 26 Sep 2006 17:40:20 +0000 |
| Subject: | note 69920 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-117693@lists.php.net to get a copy of this message | ||
When working with ISO-8601 weeks (date("W")) in php4 I find that I need to decrement the
year reported by get_date or date("Y") if the iso week number is 52. This emulates the
date("o") operation as close as I can find.
The results may seem strange still but that's because the calendar is so kludgey :)
----
Server IP: 64.71.164.2
Probable Submitter: 71.35.189.153
----
Manual Page -- http://www.php.net/manual/en/function.date.php
Edit -- https://master.php.net/note/edit/69920
Del: integrated -- https://master.php.net/note/delete/69920/integrated
Del: useless -- https://master.php.net/note/delete/69920/useless
Del: bad code -- https://master.php.net/note/delete/69920/bad+code
Del: spam -- https://master.php.net/note/delete/69920/spam
Del: non-english -- https://master.php.net/note/delete/69920/non-english
Del: in docs -- https://master.php.net/note/delete/69920/in+docs
Del: other reasons-- https://master.php.net/note/delete/69920
Reject -- https://master.php.net/note/reject/69920
Search -- https://master.php.net/manage/user-notes.php