AnsweredAssumed Answered

How do I format a query to retrieve records created in the last 5 minutes - REST API

Question asked by CityOfSurrey on Mar 15, 2012
Latest reply on Mar 16, 2012 by CityOfSurrey
How do I format a query to retrieve records created in the last 5 minutes via the REST API?  I can get all the records created today by using this syntax:

query.where = "TIMESTAMP >  date '2012-03-15'";

But, this is what I really need:

query.where = "TIMESTAMP >  date '2012-03-15 10:04:43'";

Any ideas?

Thanks!

M

Outcomes