D_NMBR_OF_DYS

This function calculates the number of days between two given dates. Please note that the minus sign in the function body is used to indicate that the return value should be the difference between the End date and the Start date.

Function ID

D_NMBR_OF_DYS

Description

Calculates the number of dates given two input dates

Natural language

This function calculates the number of days between two given dates. Please note that the minus sign in the function body is used to indicate that the return value should be the difference between the End date and the Start date.

Expression

create function D_NMBR_OF_DYS (DT_STRT, DT_END) {

returns DT_ENDDT_STRT as integer

}