Simply create an array containing the months in order. You'll be able to reference them as $months[0] through $months[11], so to get the current month you should simply be able to refer to $months[$mon].
In reply to Re: localtime $mon
by DamnDirtyApe
in thread localtime $mon
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |