Hello,
Have a bit of a odd-one here: I'm attempting to determine / return a date (ex: 10/28/2002) based off of these parameters:
- year ( 2002)
- week number (1-52)
- day name (Saturday, Sunday, etc.)
..so I'm wondering which date funtions I need to cludge together to get this to work, any suggestions?
example:
$which_day = foo("2002", "3", "Sunday");
would return the date stamp for the 3rd Week' of 2002's Sunday.
In the case of the example should return: "01/13/2002"
Thoughts???