Showing results for 
Search instead for 
Do you mean 

u_suclog number

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
Acclaimed Contributor 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.
Honored Contributor 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
Occasional Advisor

Re: u_suclog number

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