DateTimeValueOperators
Operators to manage date and time values.
To learn more about aggregation operators, view AggregationOperators.
Inheritors
Properties
The strategy used when converting from KProperty1 to Field.
Returns the day of the month for a date as a number between 1 and 31.
Returns the day of the week in ISO 8601 format, ranging from 1 (for Monday) to 7 (for Sunday).
Returns the day of the week for a date as a number between 1 (Sunday) and 7 (Saturday).
Returns the day of the year for a date as a number between 1 and 366.
Returns the hour portion of a date as a number between 0 and 23.
Returns the millisecond portion of a date as a number between 0 and 999.
Returns the month of a date as a number between 1 and 12.
Returns the year portion of a date.
Returns the year in ISO 8601 format, corresponding to the ISO week number returned by weekISO.
Functions
Refers to field as a nested field of the current value.
Refers to child as a nested field of the current field.
Refers to a specific item in an array, by its index.
Refers to a specific item in a map, by its name.
Refers to a Kotlin value within an aggregation value.
Refers to a field within an aggregation value.
Refers to a BsonType within an aggregation value.