Skip to content

Instantly share code, notes, and snippets.

@ademar111190
Created April 22, 2014 18:18
Show Gist options
  • Save ademar111190/11189179 to your computer and use it in GitHub Desktop.
Save ademar111190/11189179 to your computer and use it in GitHub Desktop.
A script to generate current timestamp in hexadecimal
#!/usr/bin/python
'''
A script to generate current timestamp in hexadecimal
'''
from time import time
print hex(int(time()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment