in reply to Re: How can I format the output of localtime?
in thread How can I format the output of localtime?
my ($d,$m,$y) = (localtime(time))[3,4,5]; my $mdy = sprintf '%02d/%02d/%d', $m+1, $d, $y+1900;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Answer: How can I format the output of localtime?
by jacques (Priest) on Oct 22, 2004 at 01:13 UTC | |
by ysth (Canon) on Oct 22, 2004 at 08:26 UTC |