Getting days of week out of weeknumber
| From: | Rainer Schreiber | Date: | Fri, 26 Jul 2002 12:24:12 +0000 |
| Subject: | Getting days of week out of weeknumber | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-86235@lists.php.net to get a copy of this message | ||
I am looking for a function wich can deliver me an array with the days of a
specific week.
The function should recieve $year and $weeknumber and return
$day[0]..$day[6].
f.i.: $year = '2002' and $weeknumber = '31' ->
$day[0] = '28-07-2002'
$day[1] = '29-07-2002'
$day[2] = '30-07-2002'
$day[3] = '31-07-2002'
$day[4] = '01-08-2002'
$day[5] = '02-08-2002'
$day[6] = '03-08-2002'
Who can help me out?
--
Rainer Schreiber [consulent]
Instituut Maidenhead / Hairplus
Hoekersingel 22
3028 XM Rotterdam
Tel. 010-462.30.11
Fax. 010-462.33.70
E-mail. rainer.schreiber@hairplus.nl