Created
July 20, 2015 03:23
-
-
Save cadrev/edc276f8dc68aa658c1d to your computer and use it in GitHub Desktop.
python timestamp snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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