To get the Unix timestamp from your shell, use the time command with the appropriate format:
time
$ date +%s
sourcearrow-up-right
Last updated 4 years ago