Maybe I'm going crazy here, but the Month Function in Arcade is returning the Month - 1. Anybody else seeing this behavior?console(Now())console(Month(Now()))
2022-05-18T10:41:34.875-05:00 4
You have to remember that Month is zero-based:
Returns the month of the given date. Values range from 0-11 where January is 0 and December is 11.
I also just found this out the hard way and I just... cannot. This R user cannot get over the use of zero-based indexes for the month function... it just seems so counter-intuitive.
Guess I missed that in the documentation. Makes sense. Thanks
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.