Created
March 19, 2018 21:44
-
-
Save tsleyson/b8f6c2596172c6116de83211aa67d039 to your computer and use it in GitHub Desktop.
Formatting the output of the Unix date command
This file contains 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
# 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