Skip to content

Instantly share code, notes, and snippets.

@makotoworld
Created November 22, 2012 07:58
Show Gist options
  • Save makotoworld/4129898 to your computer and use it in GitHub Desktop.
Save makotoworld/4129898 to your computer and use it in GitHub Desktop.
python でエポック秒を好きなフォーマットで出力する
# import datetime
# import time
# date = datetime.datetime(*time.localtime(1111111111)[:-3]).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