Created
January 31, 2019 13:55
-
-
Save ufuk/051f3efdbad764ffe01c7012c90251bf to your computer and use it in GitHub Desktop.
Echo time by timezone in BASH
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
echo "$(TZ='Europe/Moscow' date +%Y-%m-%d\ %H\:%M)" | |
# output => 2019-01-31 16:52 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment