Bug #12944 Updated: new date() and getdate() feature
| From: | derick@php.net | Date: | Fri, 24 Aug 2001 11:56:42 +0000 |
| Subject: | Bug #12944 Updated: new date() and getdate() feature | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-64240@lists.php.net to get a copy of this message | ||
ID: 12944
Updated by: derick
Reported By: gandon@isia.cma.fr
Status: Open
Bug Type: Feature/Change Request
Operating System: linux redhat 7.0
PHP Version: 4.0.4pl1
New Comment:
strftime already supports this: (from the manual notes):
Week number:
print strftime("%W");
Previous Comments:
------------------------------------------------------------------------
[2001-08-24 07:45:59] gandon@isia.cma.fr
It would be nice is the php date() function could
return the ISO-defined week of year.
getdate() could also add that value (the ISO-defined week of year) associated to the
'yweek' key in the returned array.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12944&edit=1