Page 1 of 1
Change system date to yesterday's date
Posted: Jul 30th, ’19, 09:20
by locqn
Hello, I would like to hit a key, such as Ctrl-Y to change system date back to 1 day. For example, today is 7-30-19, will change to 7-29-19. And maybe Ctrl-T to switch back to today's date. Thanks
Re: Change system date to yesterday's date
Posted: Jul 31st, ’19, 18:02
by Marko
Try this with a shortcut (Type: Command)
Code: Select all
Result += -1, Days
FormatTime, Out, %Result%, dd-MM-yy
RunWait, %ComSpec% /c Date %Out%
You may need to change the date format in the second line.
Also, you may need to run FastKeys as administrator.
Re: Change system date to yesterday's date
Posted: Aug 22nd, ’19, 06:00
by locqn
Thank you very much Marko