@XanderBakker
Xander:
You've been my go-to person for all things Arcade. Is there any chance you can help me here?
I have a field (StatusDate, type = date) that needs to be displayed in a popup. When that date is 12/31/22 I want to ignore the value and leave it blank. All other values will be shown.
I have tried these expressions and they do NOT ignore the 12/31/22 values.
1) IIF(Find(12/31/22,$feature.StatusDate) > -1, "", $feature.StatusDate)
2) IIF(Find('12/31/22',$feature.StatusDate) > -1, "", $feature.StatusDate)
3) IIF($feature.StatusDate == 12/31/22,"", $feature.StatusDate)
4) IIF($feature.StatusDate == '12/31/22',"", "$feature.StatusDate")
In the feature class I only see the date value in the format above. When I open the attributes via AGO I see "12/31/22, 6:00 PM".
Can you, or anyone else for that matter, help?