Function reference
Date-truncation functions
Date-truncation functions return the start of the period that contains a date.
Returns the start of the day.
Returns the Monday at the start of the week.
Returns the first day of the month.
Returns the first day of the calendar quarter.
Returns January 1 or July 1 for the half-year containing the date.
Returns January 1 of the year.
These functions are useful when source dates must be aligned with a model period.