Hi:
About the closest to a unix command is the GNU date command, normally bundled with Linux. The %s format provides the number of seconds since the EPOCH:
date +%s
You can probably get a copy of GNU date at gnu.org.
A few of the unix-based scripting languages such as perl and TCL have internal functions similar to the stand "C" function time().
Regards,
Ed