Joe Slaven wrote:
> 
> Has anyone an example of using Time::Localtime module to print out the date
> and time  to the nearest second in the format:
> :
> sec:min:hour (am/pm)  Thurs 2nd Dec 2001


It might be easier to use POSIX::strftime()

$ perl -le'use POSIX "strftime"; print strftime "%S:%M:%I %P %a %e %b
%Y", localtime'
31:27:02 pm Tue  4 Dec 2001



John
-- 
use Perl;
program
fulfillment

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

Reply via email to