Hello,
I am using ArcGIS Pro 3.0. I am creating a Unique Values symbology using the Date attribute of a set of points. The date is listed under "Descriptio" on the attribute table. I am trying to capture a series of points in a date range from Jan 19 1945 to Feb 23 1945 in sets of 7-day intervals. Each week has its own symbol/color.
Based on this page: https://support.esri.com/en/technical-article/000017958
I used the following Arcade Code:
var revegDate = Date($feature.Descriptio)
if (revegDate >= Date(1945,0,19) && revegDate <= Date(1945,0,25)) {
return "01/19/1945 - 01/25/1945" }
else if (revegDate >= Date(1945,0,26) && revegDate <= Date(1945,1,01)) {
return "01/26/1945 - 02/01/1945" }
else if (revegDate >= Date(1945,1,02) && revegDate <= Date(1945,1,08)) {
return "02/02/1945 - 01/08/1945" }
else if (revegDate >= Date(1945,1,09) && revegDate <= Date(1945,1,15)) {
return "02/09/1945 - 02/15/1945" }
else if (revegDate >= Date(1945,1,16) && revegDate <= Date(1945,1,22)) {
return "02/16/1945 - 02/22/1945" }
The code works correctly except for one hiccup. Any points with a date equal to the first day of each set (1/19/1945, 1/26/1945, 02/03/1945, etc) is being symbolized under <all other values> instead of their correct symbol.

Any idea what I'm doing wrong?
Thank you.