Searching for Dates and Times in Amazon CloudSearch
You can use structured queries to search any search enabled date field for a
particular date and time or a date-time range.
Amazon CloudSearch supports two date field types,
date-array. For more information, see configure indexing options.
Dates and times are specified in UTC (Coordinated Universal Time) according to IETF RFC3339:
yyyy-mm-ddTHH:mm:ss.SSSZ. In UTC, for example, 5:00 PM August 23, 1970 is:
1970-08-23T17:00:00Z. Note that you can also specify fractional seconds when specifying times in UTC. For example,
To search for a date (or time) in a
date field, you must enclose the
date string in single quotes. For example, both of the following queries search the
movie data for all movies released on December 25, 2001:
release_date: '2001-12-25T00:00:00Z' (term field=release_date '2001-12-25T00:00:00Z')