How do i get "the last day of last month"?
I think that the easiest way to do this involves Date::Tie.
use Date::Tie; tie my %date, 'Date::Tie'; $date{monthday} = 1; $date{monthday}--; print "$date{year}-$date{month}-$date{monthday}\n";
Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }
In reply to Re: How do i get "the last day of last month"?
by Juerd
in thread How do i get "the last day of last month"?
by kiseok7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |