Last active
December 12, 2015 09:59
-
-
Save X0nic/4756254 to your computer and use it in GitHub Desktop.
Time shifting
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
#you will most likely need to sudo these commands | |
#add 14 days | |
date -s "14 day" | |
#subtract 14 days | |
date -s "-14 day" | |
#set date to something specific | |
date -s "02/28/2013 08:24:14" | |
#get current date | |
date |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment