Il y a 1 jour Python Datetime

date_N_days_ago = datetime.now() - timedelta(days=N)
Magnificent Moth