|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-04-29 11:02 UTC] migue dot m at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 18:00:01 2025 UTC |
Description: ------------ I use this code to calculate the week number for December 28 of 2009: strftime("%V", mktime(12,0,0,12,28,$x)); This function have to return "1" but it returns "53" and the 2009 year hasn't 53 weeks. I also tried other code with the same results: date('W', strtotime("December 28, $x"));