Given the day of the year (DOY) does anyone know how to convert this number to a formatted string?
For example, today (April 7) is the 97th day of the year. I need a function that will do a conversion as:
function ConvertDOY($DOY)
{
. . .
return $full_date;
}
When called like:
$string = ConvertDOY(97);
I want $string to contain "Saturday, April 7, 2001".
Any suggestions?
Thanks in advance.