Skip to content

Instantly share code, notes, and snippets.

@norcal82
Last active April 23, 2021 19:33
Show Gist options
  • Save norcal82/501c57979c353ae149e6bc1e85b95f9b to your computer and use it in GitHub Desktop.
Save norcal82/501c57979c353ae149e6bc1e85b95f9b to your computer and use it in GitHub Desktop.
Day of Week Arcade Expression
var day = $feature.Reported_DOW;
When(day == "MONDAY", 1,
day == "TUESDAY", 2,
day == "WEDNESDAY", 3,
day == "THURSDAY", 4,
day == "FRIDAY", 5,
day == "SATURADAY", 6,
day == "SUNDAY", 7,
0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment