monk2b has asked for the wisdom of the Perl Monks concerning the following question:

I have to install this date in the format 2000.09.11. The 09 being september. I have the following code that gives me the date in the correct sequence. I am not able to get the month to two digits or the day 1st thru 9th to two digits. This is probably a baby question. Code to follow.

my($year, $month, $day) = (localtime)[5 ,4 ,3];<br> $year1 = $year+1900;<br> $month1 = $month+1;<br>