my $months = 'JanFebMarAprMayJunJulAugSepOctNovDec'; my $month = 8; print substr($months, $month*3, 3), "\n";
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: convert month number to month name
by roboticus
in thread convert month number to month name
by Shaveta_Chawla
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |