in reply to Changing format of a date.
it's output of the time is in this format "030804135240"my($sec,$min,$hour,$mday,$mon,$year) = localtime; my $current_time = sprintf("%02d%02d%02d%02d%02d%02d", $year-100,$mon+ +1,$mday,$hour,$min,$sec);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Changing format of a date.
by nadadogg (Acolyte) on Jan 08, 2004 at 14:50 UTC |