Created
October 7, 2019 05:10
-
-
Save algal/a88c94d7b9b2519e1b05cd78365c6978 to your computer and use it in GitHub Desktop.
print the time in California, in RFC 2822 format
This file contains hidden or 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
#!/bin/bash | |
# prints California time, on macOS or Ubuntu 18 | |
exec env TZ='America/Los_Angeles' date -R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment