Perl Monk, Perl Meditation | |
PerlMonks |
Re: Re: How do i get "the last day of last month"?by MarkM (Curate) |
on Apr 28, 2003 at 03:46 UTC ( [id://253588]=note: print w/replies, xml ) | Need Help?? |
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
|
|