Hello Zachary,

On Sat, Jul 06, 2002 at 11:19:58PM -0700, Zachary Buckholz wrote:
> Odd extra '1' showing up? Can someone explain this.
>   my $current_date = printf("%04d-%02d-%02d", $year+1900, $month+1, $day);
                       ^^^^^^
The problem lies here. You have to use sprintf to get a string. printf
doesn't return a string.

HTH
Robert

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to