Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Solaris and seconds since epoc

807557May 29 2007 — edited Jun 17 2007
Hi,

In a Linux environment I can just go
date '+%s'
to get the seconds since epoc ... how do I get that value
in Solaris (any version, really)? It appears that strftime
on Solaris knows nothing about epoc, so I can't trivially
get date to display the value.


Cheers
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 15 2007
Added on May 29 2007
5 comments
254 views