-
Hi Don't understand how you check for "first and third Monday of every month".
>>> date.today().isocalendar() datetime.IsoCalendarDate(year=2024, week=34, weekday=4)so you check if it's Monday with
today[2] == 1, ok I get it.
buttoday[1]shows current week number>>> today[1] 34so how the week number is relevant in checking if Monday is first or third in the month? Could you please eleborate?
Edited by Костырев Александр
Please register or sign in to comment