in reply to
Number of day in the year to proper date
You seem to be counting from Feb 1, one second after midnight. Which not only throws you a month off, but can also give you problems with daylight savings time.
Comment on
Re: Number of day in the year to proper date
In Section
Seekers of Perl Wisdom