Last active
December 17, 2020 15:05
-
-
Save hamdyaea/a50542f63d0d1cf74c2901c4f0ea6835 to your computer and use it in GitHub Desktop.
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
mytime=$(date -r flag-17-12-2020.flag +%s) | |
mytime2=$(date +$mytime -d "-5 min") | |
mytime3=$(date -u -d @${mytime2} +"%Y-%m-%d %H:%M:%S") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment