"be consistent" | |
PerlMonks |
Re: Given month last dayby Anonymous Monk |
on Aug 30, 2015 at 21:44 UTC ( [id://1140469]=note: print w/replies, xml ) | Need Help?? |
Using any time-calculation package you please: take the month and year, and calculate the first day of that month/year (month/01/year). Add one month. Then, subtract one day.
In Section
Seekers of Perl Wisdom
|
|