githubEdit

Get The Unix Timestamp

To get the Unix timestamp from your shell, use the time command with the appropriate format:

$ date +%s

sourcearrow-up-right

Last updated

Was this helpful?