Change system date to yesterday's date

Share your favorite FastKeys commands
Post Reply
locqn
Posts: 3
Joined: Jul 30th, ’18, 15:06

Post by locqn » Jul 30th, ’19, 09:20

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
User avatar
Marko
Posts: 1719
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Jul 31st, ’19, 18:02

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.
locqn
Posts: 3
Joined: Jul 30th, ’18, 15:06

Post by locqn » Aug 22nd, ’19, 06:00

Thank you very much Marko
Post Reply