Date comparison Elasticsearch

I have a date term as

“updatedAt”:{ “type”:“date”,
“format”:“dateOptionalTime” }

I need to filter to “updatedAt” terms like greater than 2017-04-06T04:56:01.900Z, less than 2017-04-06T04:56:01.900Z.
How can I do that?
Thank you.

using the query field and lucene syntax

Actually, I have tried with query field and lucene syntax and I can’t filter date term