http://www.perlmonks.org?node_id=429898


in reply to Re: Formatting elapsed time
in thread Formatting elapsed time

Well, hopefully it takes those 12 weeks and changes that into 2 more months :-)

As a very minor nit, the definitions of year and month may need to be adjusted depending on just how precise one wants to be. There are several definitions/equivalencies for the exact length of a year located here.

For example, using the current Sidereal year's approximation as 365.2564, a month is more accurately said to be 365.2564/12 or 30.438 rather than 30.5, and a year based on 30.5 * 12 is 366 days long...

-Scott