Note that the fourth position of the array contains the month number minus one. This happens because everything starts from 0 here. So the months are 0 to 11.@t = (localtime)[0..5]; $this_month = $t[4]+1; $previous_month = $t[4];
In reply to Re: where does the time go?
by DaWolf
in thread where does the time go?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |