[Phoenix-pm] perl -e

Loo, Peter Peter.Loo at bannerhealth.com
Fri Sep 23 15:56:15 PDT 2005

Hello All,
I am currently writing a shell program to automate a process which
requires the time value to do calculation.  I was trying to get the
epoch time (seconds since January 1, 1970) using the Unix "date '+%s'"
command.  However, AIX does not support "%s".  So I am thinking about
writing my own C program just to output this seconds value, then I
thought about using "localtime" in PERL.  What do you recommend?
Thank you.
Peter Loo
Technical Services Dept
Banner Health
Phoenix, AZ 85008


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/phoenix-pm/attachments/20050923/67c1a9d7/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 2371 bytes
Desc: Pie Charts Bkgrd.JPG
Url : http://mail.pm.org/pipermail/phoenix-pm/attachments/20050923/67c1a9d7/attachment.jpe

More information about the Phoenix-pm mailing list