Last active
July 25, 2022 12:47
-
-
Save rsperl/eff240e02bde4d070ad2e4e729f9d60f to your computer and use it in GitHub Desktop.
date conversions #bash #snippet
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
| #!/usr/bin/env bash | |
| # convert from timestamp to epoch: 1626459360 | |
| date -d '2021-07-16 14:16:00' +%s | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment