Hi,
Simplest I can think of -
my($day, $month, $year)=(localtime)[3,4,5]; $year = $year + 1900; $month = qw(Jan Feb Mar Apr May Jun Jul Aug Sept Oct N +ov Dec)[$month]; print $month;
J.C.
In reply to Re: convert month number to month name
by Anonymous Monk
in thread convert month number to month name
by Shaveta_Chawla
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |