Skip to content

Instantly share code, notes, and snippets.

@tsleyson
Created March 19, 2018 21:44
Show Gist options
  • Save tsleyson/b8f6c2596172c6116de83211aa67d039 to your computer and use it in GitHub Desktop.
Save tsleyson/b8f6c2596172c6116de83211aa67d039 to your computer and use it in GitHub Desktop.
Formatting the output of the Unix date command
# Outputs the date in the format "2018-03-19 14:43:13".
date +"%Y-%m-%d %H:%M:%S"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment