more than once. This can lead to inconsistancies in the numbers. For formatting, try this:localtime
my @time = localtime; my $yyyy = $time[5] + 1900; my $mm = sprintf("%02d", $time[4] + 1); # pad with 0's # repeat for other variables
In reply to Re: best way to write code
by cowboy
in thread best way to write code
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |