|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-01-16 22:39 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2016-01-16 22:39 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 23:00:01 2025 UTC |
Description: ------------ In this year (2016) date('W', $date); is counting less 1 Test script: --------------- $today= date("Y-m-d"); $weekNumber = date("W",strtotime($today)); echo $weekNumber; Expected result: ---------------- It echoes "2" but should echo "3"