Calculate date x days in the past

PHOTO EMBED

Fri Aug 19 2022 22:02:20 GMT+0000 (Coordinated Universal Time)

Saved by @jmbenedetto #python

date_from=(pd.Timestamp.today()-pd.Timedelta(30,'d')).strftime('%Y-%m-%d')
content_copyCOPY