http://qs321.pair.com?node_id=32020


in reply to RE: Re: Date format question
in thread Date format question

Actually, you'll also want to use $month+1...

printf("%4d.%02d.%02d\n",$year+1900,$month+1,$day);