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
Solved! Go to Solution.
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.
Guess I missed that in the documentation. Makes sense. Thanks
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.