1833445 Members
3287 Online
110052 Solutions
New Discussion

date in epoch

 
SOLVED
Go to solution
so_2
Regular Advisor

date in epoch

Hi Gurus'

I am in need of getting epoch time from HPUX server. I cant see any optio for date command to achive this. I know using gettimeofday() function and program but I am not supposed to compile anything in system and cant use that.
Please help me to get it achieved using commands.

Thanks
1 REPLY 1
James R. Ferguson
Acclaimed Contributor
Solution

Re: date in epoch

Hi:

# perl -le 'print time()'

Regards!

...JRF...