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 and C generator.


Description

This predefined function is used to convert a DATE type value into a numeric type value in the YYYYMMDD format.


Syntax

Result = &DATE_TO_NUM(Date)


Parameters


Description

Contents

Controls

Result

Eight-character NUM_E or NUM_P type numeric variable with 0 decimals.

Numeric variable (with the YYYYMMDD format) matching the date given as a parameter.


Date

DATE type variable.

Date to be converted to a numeric type.

Mandatory parameter.


Example

NUM_VAR = &DATE_TO_NUM(DATE_VAR)


List of predefined functions by topic


↑ Top of page

  • Aucune étiquette