|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-02-19 18:26 UTC] kriscraig@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: kriscraig
[2013-09-22 22:08 UTC] derick@php.net
[2014-05-29 09:49 UTC] kriscraig@php.net
-Status: Assigned
+Status: Not a bug
[2014-05-29 09:49 UTC] kriscraig@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 14:00:01 2025 UTC |
Description: ------------ Extend date() formats like W ISO-8601 week number of year, weeks starting on Monday with V week number of year, weeks starting on Sunday Example: date("W V", strtotime("2012-12-30")); // 52 53 date("W V", strtotime("2012-12-31")); // 01 53 E.g. MySQL has date_format() formats: %V Week (01..53), where Sunday is the first day of the week; used with %X %v Week (01..53), where Monday is the first day of the week; used with %x