I am trying to get a simple count of days till the end of the year and for some reason Arcade is not preforming calculations with Today() like I am expecting.
When I use the code :
Solved! Go to Solution.
In the function Date, the second parameter is the month number, but it's zero-indexed. Meaning 0 = January, etc. So 8 is September.
You might also be able to utilise the ISOMonth function which offers "Values range from 1-12 where January is 1 and December is 12."
https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth
In the function Date, the second parameter is the month number, but it's zero-indexed. Meaning 0 = January, etc. So 8 is September.
Thank you!
You might also be able to utilise the ISOMonth function which offers "Values range from 1-12 where January is 1 and December is 12."
https://developers.arcgis.com/arcade/function-reference/date_functions/#isomonth