Datetime arithmetic logic

30-09-2022

next_month = lambda dt, multiplier: (dt.month - 1 + multiplier) % 12 + 1