in reply to Re: How do i get "the last day of last month"?
in thread How do i get "the last day of last month"?
I am not particularly fond of this solution as it does not take daylight savings time into account. Sure, most time zones don't adjust their time on the first or last of a month, however, this is not a rule in stone.
Then again, though, Date::Manip, and a few of the other modules are quite broken when it comes to time zones, so I shouldn't be too critical of a core-perl solution. :-)
In Section
Seekers of Perl Wisdom