Arcade expression for date ranges

127
2
11-13-2020 11:08 AM
Labels (1)
KhemAryal
New Contributor III

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"

Reply
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
Reply
0 Kudos