1 день назад Python DateTime
date_N_days_ago = datetime.now() - timedelta(days=N)
Magnificent Moth
date_N_days_ago = datetime.now() - timedelta(days=N)