Quantcast
Channel: Forums - ArcGIS for Desktop - General
Viewing all articles
Browse latest Browse all 2328

How to get within 24 hours in the where clause for Rest API

$
0
0
I have a table that has a datefield in it and calling it DATE_CLOSED_ON

I am trying to find cases that were closed and within 24 hours, so I tried it out in the REST Query API

DATE_CLOSED_ON > (CURRENT_TIME - 24) and DATE_CLOSED_ON is not NULL

but reading from http://help.arcgis.com/en/arcgisdesk...0033000000.htm it seems like I cannot compare a datetime field with CURRENT_TIME and also there is no way to get CURRENT_TIMESTAMP in 10.0 arcgis.

so is there a way around this?

Viewing all articles
Browse latest Browse all 2328

Trending Articles