Date arithmetic follows the real calendar. Let's see if you do too!
from datetime import date, timedelta start = date(2026, 2, 1) gap = date(2026, 3, 1) - start print(gap.days, start + timedelta(weeks=1))
28 2026-02-07
30 2026-02-08
29 2026-02-08
28 2026-02-08