in reply to
Date Calculation
For the day of the year today falls on you could just use:
$day_of_the_year = (localtime)[7];
[download]
For the days between dates (and all your date/time needs), try searching
CPAN
for date, but for your current question
Date::Calc
would be a good place to start.
-enlil
Comment on
Re: Date Calculation
Download
Code
In Section
Seekers of Perl Wisdom