Skip to main content

Celonis Product Documentation

MILLIS
Description

Returns the milliseconds of a given date.

Supported input column types: DATE

Output column type: INT

Syntax
  MILLIS ( table.column )
 
NULL handling

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

Example

[1]

Simple example for the MILLIS operator.

Query

Column1

         MILLIS ( "Table1"."Column1" )
        

Input

Output

Table1

Column1 : date

Mon Jan 01 2018 00:00:00.000

Mon Jan 01 2018 00:00:00.540

Mon Jan 01 2018 00:00:01.880

Result

Column1 : int

0

540

880