Skip to content

Instantly share code, notes, and snippets.

@marocchino
Created July 12, 2012 17:24
Show Gist options
  • Save marocchino/3099477 to your computer and use it in GitHub Desktop.
Save marocchino/3099477 to your computer and use it in GitHub Desktop.
print hex timestamp every 1 sec.
setInterval(function(){console.log(parseInt((new Date()).getTime()/1000).toString(16));}, 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment