created_at
timestamp attribute, but users can also create their own custom timestamp attributes.
All timestamp attributes are single-select.
Reading values
Timestamp attributes have a single property,value
(string).
Writing values
Input values will be coerced into the full format. UTC is assumed if not specified. For example, the following input values would all be coerced to"2023-01-02T13:00:00.000000000Z"
:
"2023"
"2023-01"
"2023-01-02"
"2023-01-02T13:00"
"2023-01-02T13:00:00"
"2023-01-02T13:00:00.000000000"
"2023-01-02T15:00:00.000000000+02:00
value
property:
You may also pass an object with a single property, value
.
Filtering
Timestamp attribute values can be filtered by their value. Unlike when writing timestamp values, both date and time components must be specified. You can filter for an exact timestamp using the implicit syntax, or use the$eq
,$gt
,$gte
,$lt
,$lte
operators with the explicit syntax.
$gte
for the earlier bound and the exclusive $lt
for the upper bound: