Lessee.... OTTOMH:
$day = day of week: 0=Sunday, 1=Monday ... 6=Saturday
$week= number of week (starting at 1)
$year= year (duh!)
Eg:
$day = 2; // Tuesday
$week = 1; // First Week
$year = 2002;
should give 2002-01-01.
// Start of year is:
$startofyear = mktime(0,0,0,1,1,$year);
// First day of year is:
$firstday=date('w',$startofyear);
// How many days since the start of the year?
// ($week-1) fuul weeks after the start of the year, plus $day, less $firstday
$now = $startofyear+(7($week-1)+$day-$firstday)86400;
echo date('Y-m-d',$now);
echo "\n";