> -----Original Message-----
> From: Bob Showalter [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 13, 2002 9:33 AM
> To: 'Gregg O'Donnell'; [EMAIL PROTECTED]
> Subject: RE: Formatting date, time
> 
> ...
> or, 2) Use the POSIX module's strftime(), which is simpler:
> 
>    use POSIX 'strftime';
>    my $date = strftime('%02m%02d%02y%02H%02M', localtime);

Oops! Leave off the '02' parts:
 
    my $date = strftime('%m%d%y%H%M', localtime);

Sorry about that

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

Reply via email to