Products Downloads


French version


 


ADELIA

VADELIA

SADELIA

WADELIA

EADELIA

(I/B)

(I/B)

(B)

(I/B)

(B)


Warning: In the case of ADELIA programs, this function is not compatible with C generator.


Description

This predefined function is used to calculate the number of days between two specific dates with the DATE type format.


Syntax

Result = &DATE_INTERVAL(Beginning date;End date)


Parameters


Description

Contents

Controls

Result

NUM_E or NUM_P type numeric variable of length.

<= 9 with 0 decimals

Number of days between the two dates given as parameters.


Beginning date

DATE variable.

Start date for the calculation.

Mandatory parameter.

End date

DATE variable.

End date for the calculation.

Mandatory parameter.


Note: The start date must be earlier than the end date, otherwise a negative result is produced.


Example

INTERVAL = &DATE_INTERVAL(DATE_VAR1;DATE_VAR2)


List of predefined functions by topic


↑ Top of page

  • Aucune étiquette