Skip to content

Instantly share code, notes, and snippets.

@xiaojay
Created July 18, 2013 06:04
Show Gist options
  • Save xiaojay/6027022 to your computer and use it in GitHub Desktop.
Save xiaojay/6027022 to your computer and use it in GitHub Desktop.
unix epoch time convert to humbleable format
def c(t):
return time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(t))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment