ID:               12944
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Feature/Change Request
 Operating System: linux redhat 7.0
 PHP Version:      4.0.4pl1


Previous Comments:
------------------------------------------------------------------------

[2002-04-28 19:49:26] [EMAIL PROTECTED]

date("W") does this.

------------------------------------------------------------------------

[2001-08-24 07:56:41] [EMAIL PROTECTED]

strftime already supports this: (from the manual notes):

Week number:
print strftime("%W");

------------------------------------------------------------------------

[2001-08-24 07:45:59] [EMAIL PROTECTED]

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

Reply via email to