Skip to content

Instantly share code, notes, and snippets.

@imixtron
Last active February 6, 2017 11:48
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 imixtron/c433720a26ec4163691a52e6726ecad8 to your computer and use it in GitHub Desktop.
Save imixtron/c433720a26ec4163691a52e6726ecad8 to your computer and use it in GitHub Desktop.
//hexaTime.js
//author: imixtron
//Javascript function to return unique hexadecimal string (that i personally use)
function getUniqueKey(){
return ((new Date).getTime()).toString(32);
}
var unique_key = getUniqueKey()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment