Skip to content

Instantly share code, notes, and snippets.

@davidvanvickle
Last active December 16, 2015 16:18
Show Gist options
  • Save davidvanvickle/5461686 to your computer and use it in GitHub Desktop.
Save davidvanvickle/5461686 to your computer and use it in GitHub Desktop.
unix time to string
# on mac first install brew, xz and gawk
echo 1328557894 | gawk '{print strftime("%c",$0)}'
# get timestamp
date +%s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment