Scalars
/
RelativeDate

RelativeDate

A scalar representing a relative date for flexible time period selection. Supports the following values:

  • TODAY: Today since midnight
  • YESTERDAY: Yesterday since midnight
  • BEGINNING_OF_WEEK: Nearest monday since midnight
  • BEGINNING_OF_MONTH: 1st of the month since midnight
  • BEGINNING_OF_PREV_MONTH: Previous 1st of the month since midnight
  • TODAY_MINUS_7_DAYS: Exact 7 days ago since midnight
  • TODAY_MINUS_30_DAYS: Exact 30 days ago since midnight

Used for dynamic date range selection in analytics queries. Example: TODAY, BEGINNING_OF_MONTH, TODAY-7DAYS

Built with

Show your support! Star us on GitHub ⭐️