How to use queries with updatedAt and createdAt?

Hey guys,
trying to get new entries - but querries like this:

{updatedAt = {["$gt"] = "2021-08-06T10:43:41.198Z"}}

return empty.
Is there any special way to handle date in Rest API?

Try with {updatedAt = {["$gt"] = {["__type"]="Date", ["iso"] = "2021-08-06T10:43:41.198Z"}}}

1 Like

Thx!
It worked like a charm.