Applies to:  CELONIS 4.0 CELONIS 4.2 CELONIS 4.3 CELONIS 4.4 CELONIS 4.5 CELONIS 4.6 

Description

ADD_Millis adds a given number of milliseconds to a given date.

Supported input column types: base_column -> DATE, milliseconds_column -> INT

Output column type: DATE

Syntax

ADD_MILLIS ( table.base_column, table.milliseconds_column )

Null handling

If any parameter is NULL, the result is NULL

Example


[1] Simple example for ADD_MILLIS.

Query
Column1
ADD_MILLIS ( "Table1"."Base_Column", "Table1"."Milliseconds_Column" )
Input
Table1
Base_Column : DATEMilliseconds_Column : INT
Mon Jan 01 2018 00:00:00.000
1000
Mon Jan 01 2018 00:00:00.000
0
Mon Jan 01 2018 00:00:00.000
-1000
Output
Result
Column1 : DATE
Mon Jan 01 2018 00:00:01.000
Mon Jan 01 2018 00:00:00.000
Sun Dec 31 2017 23:59:59.000


  • No labels