AnsweredAssumed Answered

query using getdate fails on 10.2.2

Question asked by mikedmanak on Aug 6, 2014
Latest reply on Dec 9, 2015 by gbarden

Using feature services to create a check-out database for iOS Runtime. 


I noticed that if I try to query the feature services using the getdate() function it fails in 10.2.2 where it worked fine in 10.1 or earlier.


For example - executing a query against the REST endpoint for a feature layer with an AGSDate field using "WHERE dateField > getdate() - 7" will return all records with a date value within the last 7 days.  Works like a charm in 10.1, fails with an error in 10.2


Is this a known bug?


Matt Cooper