Not sure if this is the easiest way but use the date and mkttime functions. So:
<?php
$day=5;
$test=date ("M j, Y", mktime(0,0,0,1,$day,2001));
echo "Day $day of year 2001 is $test";
?>
But that solves one problem. I am looking to figure out what the date it is by what week of the year is. So using the week function of Mysql, I want to know the date for the first day of the week. Anysuggestions. I need this because I am going to present my users with calendars for certain weeks but I need to know the date.