Created
October 22, 2015 10:02
-
-
Save ahhh/11e665a5e22fbe1928a2 to your computer and use it in GitHub Desktop.
Unix datetime string to Python date time stamp
This file contains hidden or 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 datetime, sys | |
print datetime.datetime.fromtimestamp(float(sys.argv[1])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment