in reply to
Getting 2-digit dates from localtime()
format the string with
sprintf
edited:
$datestring = sprintf("%02d/%02d/%d",$mth,$day,$year);
-Waswas
Comment on
Re: Getting 2-digit dates from localtime()
Download
Code
In Section
Seekers of Perl Wisdom