Skip to main content

RQBJsonLogicDateTimeOperations

RQBJsonLogicDateTimeOperations: { dateAfter: FnDateDate; dateBefore: FnDateDate; dateBetween: FnDateDateDate; dateIn: FnDateArrayOfDates; dateNotBetween: FnDateDateDate; dateNotIn: FnDateArrayOfDates; dateNotOn: FnDateDate; dateOn: FnDateDate; dateOnOrAfter: FnDateDate; dateOnOrBefore: FnDateDate; }

Defined in: datetime/src/types.ts:106

Type declaration

dateAfter

dateAfter: FnDateDate

Determines if the first date is after the second date.

dateBefore

dateBefore: FnDateDate

Determines if the first date is before the second date.

dateBetween

dateBetween: FnDateDateDate

Determines if the second date is between the first and third dates (inclusive).

dateIn

dateIn: FnDateArrayOfDates

Determines if the first date is one of the values in the array of dates.

dateNotBetween

dateNotBetween: FnDateDateDate

Determines if the second date is not between the first and third dates.

dateNotIn

dateNotIn: FnDateArrayOfDates

Determines if the first date is not one of the values in the array of dates.

dateNotOn

dateNotOn: FnDateDate

Determines if the first date is not the same as the second date.

dateOn

dateOn: FnDateDate

Determines if the first date is the same as the second date (at the level of least precision between the two).

dateOnOrAfter

dateOnOrAfter: FnDateDate

Determines if the first date is either the same as the second date or after it.

dateOnOrBefore

dateOnOrBefore: FnDateDate

Determines if the first date is either the same as the second date or before it.


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.