Good morning,
I am able to select and display records in the web map where the ExpectedCompletionDate is equal to the current time or falls in the future, allowing me symbolize them as "Pending"
The same test using the Filter widget does not work because it shows a difference of several hours.
How can I fix that?
/ If date is missing, treat it as Now or Future
if (IsEmpty(d) || d == null) {
return "Pending";
}
// Compare to today
if (d < Now()) {
return "Resolved";
} else {
return "Pending";
}