Skip to content

Instantly share code, notes, and snippets.

@kitek
Created November 29, 2011 09:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kitek/1404107 to your computer and use it in GitHub Desktop.
Save kitek/1404107 to your computer and use it in GitHub Desktop.
Timestamp JavaScript
var dt = Math.round(new Date().getTime() / 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment