Skip to main content

Celonis Product Documentation

QUARTER
Description

Returns the quarter of a given date.

Supported input column types: DATE

Output column type: INT

Syntax
  QUARTER ( table.column )
 
NULL handling

If any parameter is NULL, the result is NULL as well.

Example

[1]

Simple example for the QUARTER operator.

Query

Column1

         QUARTER ( "Table1"."Column1" )
        

Input

Output

Table1

Column1 : date

Mon Jan 01 2018 00:00:00.000

Thu Feb 01 2018 00:00:00.000

Thu Mar 01 2018 00:00:00.000

Sun Apr 01 2018 00:00:00.000

Tue May 01 2018 00:00:00.000

Fri Jun 01 2018 00:00:00.000

Sun Jul 01 2018 00:00:00.000

Wed Aug 01 2018 00:00:00.000

Sat Sep 01 2018 00:00:00.000

Mon Oct 01 2018 00:00:00.000

Thu Nov 01 2018 00:00:00.000

Sat Dec 01 2018 00:00:00.000

Result

Column1 : int

1

1

1

2

2

2

3

3

3

4

4

4