Skip to main content
Truncates the date to the specified date part. Category: date Syntax:
Returns: DateTimeColumn Context Filtering: ✓ Yes

Parameters

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

Validation

  • Minimum parameters: 2
  • Maximum parameters: 2

Examples

Truncates to first day of month.
Last modified on March 13, 2026