n
days from today.datetime.date.today()
to get the current day.datetime.timedelta
to add n
days from today's date.from datetime import timedelta, date def days_from_now(n): return date.today() + timedelta(n)
days_from_now(5) # date(2020, 11, 02)
Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️