Skip to main content
Determines if a date is within a specified date range. Category: date Syntax:
Returns: BooleanColumn Context Filtering: ✓ Yes

Parameters

Allowed Values for direction: last, next, current, to_date Allowed Values for period: year, quarter, month, week, day, hour, minute, second Allowed Column Types: DATETIME, DATE

Validation

  • Minimum parameters: 3
  • Maximum parameters: 6

Examples

Returns True for all dates in the current month.
Returns True for all dates in the last three weeks.
Returns True for all dates in the week starting three weeks ago.
Returns True for all dates within the last year up to today’s date.
Last modified on March 13, 2026