Here is one way you could do it.
function Week2Date($wk,$year)
{
//Gets the first monday of the year
for($x=0;$x<=6;$x++)
{
$ts = mktime(0,0,0,1,1+$x,$year);
$chk_day = date("D",$ts);
if($chk_day=='Mon')
{
$ts=$ts;
break;
}
}
// not sure why, had to -1 from $wk
$ts+= (((6060)24)(7($wk-1)));
$date = date("d-m-Y",$ts);
return $date;
}
//Try it
$date = Week2Date("45","2001");
echo $date;
You'll want to test it thoroughly, cause I didn't have the time to do so.
Rodney