Check if the difference between dates is bigger than a given interval

PHOTO EMBED

Sun Aug 22 2021 22:53:01 GMT+0000 (Coordinated Universal Time)

Saved by @jmbenedetto #python

(pd.Timestamp.today("UTC") - pd.Timestamp("2021-08-20T20:01:05+00:00")) > pd.Timedelta(
    3, "D"
)
content_copyCOPY