clock — Provides time utilities
clock
[
seconds
| time
| format format
]
The clock command is used to return
information on the current time. With the
seconds option, the number of seconds since
January 1st, 1970 are returned. With the
time option, milliseconds since that date are
returned.
With the format option, the
clock command takes a millisecond value and
returns a formatted date and time. For example: