0

I am trying to add dates to two date fields in ArcGIS Pro using expressions in Arcade.

When I use the expression Date(2020,10,29) the result in the field is 29/11/2020, which is one month later than my desired date. The same thing has happened in the next field for a different date which should be 01/01/1983 but is resulting in 01/02/1983:

enter image description here

Does anyone know why this is happening and how to prevent it?

2 Answers 2

1

It is a known limitation and considered as a BUG found in ArcGIS Pro 2.5 and will be fixed in upcoming versions.

0

I'm not sure if this is a BUG or will be fixed.

In Arcade the calculation of the month is a little bit confusing, because it uses the numbers from from 0-11, where 0 is January and 11 is December.

https://developers.arcgis.com/arcade/function-reference/date_functions/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.