Hello.
I have this small script that returns 7 days when it is supplied with a week number! However it is 6 day off! Week 32 should return 7-13 august 2006 but it gives me 13-19 august 2006? If anyone could assist me I would appreciate it very much.
Best regards.
Asbjørn Morell.
value of year: 2006
value of month: 8
value of week: 32
$day=strftime("%w",mktime(0,0,0,01,01,$this->year)+($this->week_number786400));
$day1=mktime(0,0,0,1,1-$day,$this->year)+($this->week_number786400);
for($count=0; $count<7; $count++) {
echo strftime("%d",$day1+($count*86400));
}