Still by VisualMode
Home Blogmarks TILs Consulting
Home Blogmarks TILs Consulting
← Back to all TILs

Get The Unix Timestamp

unix Written April 02, 2016

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

$ date +%s

source

Other posts like this

  • Print DateTime Represented By Unix Timestamp unix
  • Convert A Unix Epoch Timestamp To A Time Object ruby
  • Parse A Date From A Timestamp javascript
  • Set A Timestamp Field To The Current Time rails
  • List All Columns Of A Specific Type postgres