Skip to content

Instantly share code, notes, and snippets.

@timendum
Created July 27, 2011 10:00
Show Gist options
  • Save timendum/1109045 to your computer and use it in GitHub Desktop.
Save timendum/1109045 to your computer and use it in GitHub Desktop.
From epoch to date [ bash ]
date -d @1208941833 +"%Y-%m-%d %H:%M:%S"
# 2008-04-23 11:10:33
date +%s
# 1208941833
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment