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 extract the century and year (on four characters) from a given date.
Syntax
Result = &DATE_TO_YEAR(Date)
Parameters
Description |
Contents |
Controls |
|
Result |
NUM_E or NUM_P type numeric variable of length <= 9 with 0 decimals. |
Century and year extracted from the date given as a parameter. |
|
Date |
DATE type variable. |
Date from which the century and year are to be extracted. |
Mandatory parameter. |
Example
YEAR = &DATE_TO_YEAR(DATE_VAR)
List of predefined functions by topic