Good afternoon all!
I am trying to automate date calculations using the field calculator in ArcGIS Pro.
I have defined survey dates, which I would like to use to create a reinspection dates.
The reinspection date is 1 year for high risk zones, 3 years for medium risk zone and 5 years for low risk zones.
Is there a piece of code I could use in the field calculator to automate this calculation?
The best sample I came out with for high risk zones is:
Expression:
arcpy.time.ParseDateTimeString(!SurveyDate!) + datetime.timedelta(days=365)
However, this did not work when I tried to execute the script.
Any help is appreciated.
Thank you