note 80629 added to function.date

From: Date: Fri, 25 Jan 2008 19:59:57 +0000
Subject: note 80629 added to function.date
Groups: php.notes 
Request: Send a blank email to php-notes+get-135416@lists.php.net to get a copy of this message
Complementing the information by ZZigc on 28-Dec-2007 07:38, if you want to calculate the number of weeks in a given year, according to the week definition by ISO 8601, the following should be enough: date('W', mktime(0,0,0,12,28,$year) ); (the last week on a give year always contains 28-Dec) ---- Server IP: 80.64.47.13 Probable Submitter: 190.72.119.207 ---- Manual Page -- http://www.php.net/manual/en/function.date.php Edit -- https://master.php.net/note/edit/80629 Del: integrated -- https://master.php.net/note/delete/80629/integrated Del: useless -- https://master.php.net/note/delete/80629/useless Del: bad code -- https://master.php.net/note/delete/80629/bad+code Del: spam -- https://master.php.net/note/delete/80629/spam Del: non-english -- https://master.php.net/note/delete/80629/non-english Del: in docs -- https://master.php.net/note/delete/80629/in+docs Del: other reasons-- https://master.php.net/note/delete/80629 Reject -- https://master.php.net/note/reject/80629 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#135416) next »