I'm trying to change system date, adding 8 days to current date. But unfortunately I am receiving
TypeError: SetSystemTime() takes exactly 8 arguments (1 given)
My code is:
import datetime
import win32api
now = datetime.datetime.now()
print (now)
tomorrow = now + datetime.timedelta(days = 8)
print (tomorrow)
win32api.SetSystemTime(tomorrow)
So I need to turn my 'tomorrow' valuable into a string with 8 arguments. or maybe there is a better function than SetSystemTime. Do you have any ideas?