Hi All
I am using the date function to get the day of a year as in
$stt = strtotime('01-01-2008');
$day_of_year = date('z', $stt);
which gives 0 and 31-12-2007 would give 364. Does anyone know of a function or method that might give the date based on the day of the year and the given year?
What i mean here is if I pass 364, 2007 I should get something like 31-12-2007.
Many thanks in advance.