Skip to content

Instantly share code, notes, and snippets.

@zipizap
Created October 11, 2013 14:47
Show Gist options
  • Save zipizap/6935971 to your computer and use it in GitHub Desktop.
Save zipizap/6935971 to your computer and use it in GitHub Desktop.
YYYYMMDDhhmmss=$(date +%Y%m%d%H%M%S)
echo $YYYYMMDDhhmmss
# will output 20120604164021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment