Hi,
I am trying to follow this guide: Analyzing violent crime automation—Analytics | Documentation (arcgis.com)
I've followed it successfully, using my own data and I am at the stage of building the model.

I first created a varialbe for the report data which will be used to select any date, i've made it a peramter and named it Date (the first oval), i have then added calculate value and attempted to add the following expression:
arcpy.time.ParseDateTimeString('%ReportDate%') - datetime.timedelta(days = 365)
I then changed it to this to match my field names for where the date is:
arcpy.time.ParseDateTimeString('%Created_Date%') - datetime.timedelta(days = 365)
I'm getting an error:
ERROR 000539: Traceback (most recent call last):
File "<expression>", line 1, in <module>
AttributeError: module 'arcpy' has no attribute 'time'
Failed to execute (Calculate Value).
I'm using ArcGIS Pro version 3
Any help would be greatly appreciated.