Skip to main content

RelativeDateTimeAnchor

RelativeDateTimeAnchor = "now" | "startOfDay" | "endOfDay" | "startOfWeek" | "endOfWeek" | "startOfMonth" | "endOfMonth" | "startOfYear" | "endOfYear"

Defined in: types.ts:77

Reference point (zero-offset) for a RelativeDateTimeValue. 'now' is the current date/time; the startOf*/endOf* anchors truncate to the start or end of the corresponding calendar period.


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.