note 50745 added to function.date

From: Date: Tue, 08 Mar 2005 17:57:22 +0000
Subject: note 50745 added to function.date
Groups: php.notes 
Request: Send a blank email to php-notes+get-86117@lists.php.net to get a copy of this message
Ok, is this a possible bug? <?php echo date('W', mktime(0, 0, 0, 7, 1, 2004)); // returns '27' echo date('W', mktime(0, 0, 0, 7, 4, 2004)); // returns '27' ?> Clearly these dates occur on two seperate weeks, but they're reported back as occuring within the same week... What's the deal? ---- Manual Page -- http://www.php.net/manual/en/function.date.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+50745 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50745&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50745&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50745&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50745&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50745&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+50745&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#86117) next »