Select to view content in your preferred language

How to query features with Estimate Time resolution later than the current time

115
1
2 weeks ago
JoseSanchez
Frequent Contributor

Good afternoon,

In a REST service, how can I query features to find those that are still active or have an Estimated Time to Incident Resolution later than the current time?

https://services.arcgis.com/..../ArcGIS/rest/services/...../FeatureServer/0

 

 

 

0 Kudos
1 Reply
JoseSanchez
Frequent Contributor

Found it:

 

ESTRESDATE >= date '2025-07-03 14:46:17'

in C#:

string formattedDate = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");

string whereCls = "ESTRESDATE >= date '" +formattedDate + "'";

0 Kudos