unix date, number of seconds since epoch

Posted by Mike on Stack Overflow See other posts from Stack Overflow or by Mike
Published on 2010-04-07T12:52:10Z Indexed on 2010/04/07 12:53 UTC
Read the original article Hit count: 417

Filed under:
|
|

Is there a way to use unix date to print the number of seconds since epoch?

I'm open to using other standard shell commands if there is a way

(I'm using Solaris, so there isn't date "+"%s")

Thanks

© Stack Overflow or respective owner

Related posts about unix

Related posts about date