Created
March 28, 2018 02:49
-
-
Save justindarc/5651f9d69355232523f6dcaa2c55dd05 to your computer and use it in GitHub Desktop.
zsh/bash timestamp
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
timestamp () { | |
date -r $(echo "$1" | cut -c "1-10") | |
} |
Author
justindarc
commented
Mar 28, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment