in reply to convert month number to month name
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: convert month number to month name
by AnomalousMonk (Archbishop) on Aug 30, 2012 at 14:26 UTC | |
by roboticus (Chancellor) on Aug 30, 2012 at 14:37 UTC | |
by AnomalousMonk (Archbishop) on Aug 30, 2012 at 14:53 UTC | |
by Anonymous Monk on Aug 30, 2012 at 14:34 UTC |