Created
July 17, 2018 06:19
-
-
Save janbraiins/a8743aae5aa18718f2f70895026914d0 to your computer and use it in GitHub Desktop.
unixtimestamp2datestr
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
def d(a): | |
return datetime.datetime.fromtimestamp(a).strftime('%Y-%m-%d %H:%M:%S') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment