ROUND_QUARTER
Applies to: CELONIS 4.0 CELONIS 4.2 CELONIS 4.3 CELONIS 4.4 CELONIS 4.5 CELONIS 4.6 CELONIS 4.7
Description
Rounds the date to the beginning of the quarter, i.e. leaving the year unchanged and setting the month and day to the beginning of the quarter and setting hour, minute, second and millisecond to their base value
Syntax
ROUND_QUARTER(column)
NULL handling
If the input value is NULL, then the result is NULL as well.
Examples
[1] Round dates from the beginning of a quarter to the beginning of the quarter.
|
[2] Round dates from the middle of a quarter to the beginning of the quarter.
|
[3] Round dates from the end of a quarter to the beginning of the quarter.
|