Skip to content

Instantly share code, notes, and snippets.

@cadrev
Created July 20, 2015 03:23
Show Gist options
  • Save cadrev/edc276f8dc68aa658c1d to your computer and use it in GitHub Desktop.
Save cadrev/edc276f8dc68aa658c1d to your computer and use it in GitHub Desktop.
python timestamp snippet
import time
timestamp = time.strftime("%Y-%m-%d %H:%M:%S")
print timestamp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment