Last active
December 16, 2015 16:18
-
-
Save davidvanvickle/5461686 to your computer and use it in GitHub Desktop.
unix time to string
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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