1753555 Members
5315 Online
108795 Solutions
New Discussion юеВ

u_suclog number

 
Pablo  Arnaldi
Occasional Advisor

u_suclog number

Hi:
Under my /tcb/auth... in hpux 10.20 with trusted system, I found that u_suclog value stores de seconds since The Epoch. Ok. I need to substarct the seconds from now to the seconds in u_suclog. I like to know. How can I obtain the seconds from The Epoch (1-1-1970) from now?
command date? mmhh.
Thanks in advance, and best regards.

Pablo
Pablux
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor

Re: u_suclog number

perl -e 'print scalar localtime(45671234)' where 45671234 is the number of epoch seconds.
If it ain't broke, I can fix that.
Craig Rants
Honored Contributor

Re: u_suclog number

This is what I use.

/usr/contrib/bin/perl -e "print time"

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Pablo  Arnaldi
Occasional Advisor

Re: u_suclog number

THANK YOU GUYS !!!!!!!!!
Pablux