Hello everyone. I am using some code I modified to check for inspection performed within 90 days and if its over 90 days, it would revert to needing inspection.
To display this, I use green glow for inspected and red for needing inspection.
The code is as follow
Solved! Go to Solution.
The DateOnly() function is recent to the platform and I believe is still not available in ArcGIS Field Maps. See more discussion on this here:
You should be OK if you update the function to use Date()
https://developers.arcgis.com/arcade/function-reference/date_functions/#date
The DateOnly() function is recent to the platform and I believe is still not available in ArcGIS Field Maps. See more discussion on this here:
You should be OK if you update the function to use Date()
https://developers.arcgis.com/arcade/function-reference/date_functions/#date
Thank you Chris.
Yes, your answer helped. I had nulls for date and the use of DateOnly was messing up in Field Maps. I updated to check for nulls and changed to Date() and it works now. Thanks again.
Great solution! I would not have thought of it