in reply to Time::Local - calculate months elapsed

Try 30.42 for the month number -- it is still not perfect but should give you a 30 year window of pretty accurate $elapsed_mons. You other options are install a date calculating module or take a peak at the source and roll your own into your script.


-Waswas
  • Comment on Re: Time::Local - calculate months elapsed