Vor 1 Tag Python DateTime
date_N_days_ago = datetime.now() - timedelta(days=N)
Magnificent Moth
date_N_days_ago = datetime.now() - timedelta(days=N)
import datetime
today = datetime.date.today()
next_week = today + datetime.timedelta(days=7)
>>> import datetime
>>> datetime.datetime.now() + datetime.timedelta(days=7)