Doradus Query Language (DQL) : Timestamp Clauses

Timestamp Clauses
The Timestamp field can be queried using date/time subfields. A subfield is accessed using “dot” notation and an upper-case mnemonic. Each subfield is an integer value and can be compared to an integer constant. Only equality (=) comparisons are allowed for subfields. Examples:
Timestamp.MONTH = 2 // month = February, any year
Timestamp.DAY = 15 // day-of-month is the 15th
NOT Timestamp.HOUR = 12 // hour other than 12 (noon)
The recognized subfields of a timestamp field and their possible range values are:
YEAR: any integer
MONTH: 1 to 12
DAY: 1 to 31
HOUR: 0 to 23
MINUTE: 0 to 59
SECOND: 0 to 59
Though timestamp fields will store sub-second precision, there are no subfields that allow querying the sub-second portion of specific values.