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

Description

MINUTES_BETWEEN computes the difference between two dates in minutes.

Supported input column types: DATE

Output column type: FLOAT

Syntax

MINUTES_BETWEEN ( table.column1, table.column2 )

NULL handling

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

Example


[1] MINUTES_BETWEEN of two rows.

Query
Column1
MINUTES_BETWEEN ( "Table1"."Column1" , "Table1"."Column2" )
Input
Table1
Column1 : DATEColumn2 : DATE
Sat Jan 01 2000 01:00:29.999
Fri Dec 31 1999 23:59:59.999
Mon May 09 2005 12:00:00.000
Mon May 09 2005 00:00:00.000
Output
Result
Column1 : FLOAT
-60.5
-720.0


See also:

  • No labels