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

Parameters

Allowed Values for range period: year, quarter, month, week, day, hour, minute, second Allowed Values for prior period: year, quarter, month, week, day, hour, minute, second Allowed Column Types: DATETIME, DATE

Validation

  • Minimum parameters: 3
  • Maximum parameters: 5

Examples

Returns True for all dates in the current hour of the day in the previous day.
Returns True for all dates in this month last year.
Returns True for all dates in this month two years ago.
Last modified on March 13, 2026