A bit obscure
$t->add_months(11-$t->mon)->month_last_day;
clearer
pojuse Date::Calc qw( Days_in_Month ); print Days_in_Month(2016,2);
In reply to Re: Given month last day
by poj
in thread Given month last day
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |