Skip to content

Instantly share code, notes, and snippets.

@tachesimazzoca
Created September 19, 2012 04:34
Show Gist options
  • Save tachesimazzoca/3747707 to your computer and use it in GitHub Desktop.
Save tachesimazzoca/3747707 to your computer and use it in GitHub Desktop.
Unix - date
# Unix timestamp
% date "+%s"
1348029114
% date -d @1348029114 "+%Y-%m-%d %H:%M:%S"
2012-09-19 13:31:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment