See Re: error on file open, Re^2: Date plus Time sort from file ( Time::Piece->strptime/strftime example, Re: Subtracting minutes from a string ( Time::Piece->strptime )use POSIX(); my @lt = localtime ; my $year = POSIX::strftime( '%Y', @lt ); my $month = POSIX::strftime( '%m', @lt );
In reply to Re: extract month and year from localtime
by Anonymous Monk
in thread extract month and year from localtime
by oikool
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |