I am trying to check if the current time if between two predermined times and that the day is Monday, Tuesday, Wednesday or Thursday. Something like:
if day = monday, tuesday, wednesday or thursday
if current_time > 6:00 PM and current_time < 6:15 PM
then do something
Here is what I have so far, the only bit left is setting the two times I want to check between:
weekday = datetime.datetime.today().weekday()
hour = datetime.datetime.time(datetime.datetime.now())
if weekday < 5:
if hour