my $date = sprintf ("%04d-%02d-%02d", $year, $mon, $mday); [download]
In reply to Re: Date displaying the 0's by borisz in thread Date displaying the 0's by Anonymous Monk