Working on a small project where every Friday of everyweek at 6:00 PM EST a new special reward is given and reset for a game.
Example: Every Friday at 6:00 PM EST the special offer resets and comes out with a new one. What I want to do is let's say its Tuesday and I want to know how many Days:Hours:Minutes:Seconds are left until Friday 6:00 EST.
The code I have right now works but the issue is I have to manually update the date for the next friday.
import datetime
today = datetime.datetime.today()
reset = datetime.datetime(2018, 3, 18, 18, 00, 00)
print(reset-today)
After the 18th I would have to manually enter next fridays date, how could I do that automatically?