Created
July 16, 2025 16:51
-
-
Save Aurora12/de4130a1bf899d85da5eb711f6ef8d7b to your computer and use it in GitHub Desktop.
Date-time in Bash in a portable way that works on GNU and BSD systems
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
| datetime="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment