Skip to main content

Date is between

True when the date lies between two dates, both included.

Condition in the Date and time toolkit · id ooa.datetime/is_between · 6 inputs (3 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
ValueAnyYesDate to check. A date, a Date variable, or text in the pattern below.
FromAnyYesEarliest date. A date, a Date variable, or text in the pattern below.
ToAnyYesLatest date. A date, a Date variable, or text in the pattern below.
Include timeBooleanNotrueCompare the time of day too; when off only the calendar dates (in time_zone) are compared.
Time zoneStringNoUTCTime zone whose calendar dates are compared when include_time is off.
PatternStringNoPattern of dates written as text, e.g. dd/MM/yyyy; ISO dates (2026-11-21) and Date variables need none.