Skip to main content

Celonis Product Documentation

MONTH
Description

Returns the month of a given date.

Supported input column types: DATE

Output column type: INT

Syntax
  MONTH ( table.column )
 
NULL handling

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

Example

[1]

Simple example for the MONTH operator.

Query

Column1

         MONTH ( "Table1"."Column1" )
        

Input

Output

Table1

Column1 : date

Mon Jan 01 2018 00:00:00.000

Wed Jan 24 2018 00:00:00.000

Thu Feb 01 2018 00:00:00.000

Result

Column1 : int

1

1

2