in reply to Need Help with DATE::CALC $doy

The Day_of_Year Function returns a 3 digit number like 176 that I am trying to convert to a textual date like July 25 ,2003.

OK, by running the command "perldoc Date::Calc", we see:

Day_of_Year $doy = Day_of_Year($year,$month,$day);
so your description of the Day_of_Year function isn't quite spot on. If you indeed are able to get a day of year out of the Date::Calc::Day_of_Year function, then you already know the year, day & month, correct?

Staying within the Date::Calc module, your best bet is the Month_to_Text function:

use strict; use Date::Calc qw/Today Month_to_Text/; my ($year, $month, $day) = Today(); # work with today's date print sprintf("%s %d, %d", Month_to_Text($month), $day, $year);
HTH