Geographic Information Systems Asked by Jake Caldwell on December 21, 2020
I have about 250 devices in a map, but I want to only display devices that have had a certain attribute change within the past week.
I have minimal experience with Arcade expressions and cannot find guidance for this particular query online.
If you had a field containing the date the attribute was changed ("DateField"), you could use something like this
var days = DateDiff(Date($feature.DateField), Now(), 'days');
if (days <= 7) {
return "Changed last week";
}
Answered by kenbuja on December 21, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP