AnsweredAssumed Answered

Query FeatureLayer by date

Question asked by nobleach on May 5, 2014
Latest reply on May 11, 2014 by nobleach
Can someone give me an example of how I would query a featurelayer by date?

I have a field in my featureservice named 'time'. The field type is: type: esriFieldTypeDate

Is this documented anywhere what that field type expects? I've sent all kinds of different date formats including:

mm/dd/yyyy
yyyy-mm-dd
yyyy-mm-dd HH:MM:SS
unix_time_stamp (1399336752182)

I'm sure someone out there has queried features before or after a particular date... I'd just like to see an example as I can't find any API docs that show how this should be done.

Outcomes