I am trying to create a dynamic text box for today's date plus or minus a number of days. In ArcMap the Python string for the expression was:
(str( datetime.date.today() - datetime.timedelta(days=8))) + ' to ' + (str( datetime.date.today() - datetime.timedelta(days=2)))
I haven't been able to recreate this in Pro. It is for a map and report run daily where we want to have the date range listed as "Today - 8 days to Today - 2days", or 4/21/21 to 4/27/21 for today 4/29/21.