Select to view content in your preferred language

Arcade expression for date ranges

851
2
11-13-2020 11:08 AM
KhemAryal
Regular Contributor

cross posted in Developers section as well

 

I am very new to arcade and trying to learn stuff here. In my example, I have Date field and Maintenance Field (with three domains regular, non-schedule, emergency)

I am trying to show in symbol with arcade expression

emergency maintenance done between

January to July as Emergency Spring

August to December as Emergency "fall"

regular maintenance done between

January to July as Regular Spring

August to December as Regular "fall"

non-schedule maintenance done between

January to July as non-schedule Spring

August to December as non-schedule "fall"

0 Kudos
2 Replies
RickeyFight
MVP Regular Contributor

@KhemAryal 

 

Here are some samples from esri. I think you can find a solution here:

 

https://github.com/Esri/arcade-expressions

 

XanderBakker
Esri Esteemed Contributor
0 Kudos