ADELIA |
VADELIA |
SADELIA |
WADELIA |
EADELIA |
(I/B) |
(I/B) |
(B) |
(I/B) |
(B) |
Description
This predefined function converts an eight-position date into Julian calendar format.
This Julian format consists of a year and a day number calculated from January 1st in the year specified as a parameter.
With this predefined function, the date specified as a parameter is checked. If it is not valid, the function is not run and the result field is reset to zero.
Syntax
Result = &JULIAN8(Date format;Date)
Parameters
|
Description |
Contents |
Controls |
Result |
Seven-position numeric variable. |
Date in Julian format. |
|
Date format |
Three-position alphanumeric constant or variable. |
Format for the date set as a parameter. Possible values: DMY Day/Month/Year DYM Day/Year/Month MDY Month/Day/Year MYD Month/Year/Day YMD Year/Month/Day YDM Year/Day/Month |
Mandatory parameter. |
Date |
Eight-position numeric constant or variable. |
Date to be converted into Julian format. |
Mandatory parameter. |
Example
FORMAT = 'YMD'
DATE = 20001231
NUMBER = &JULIAN8(FORMAT;DATE)
* NUMBER is equal to: 2000366
List of predefined functions by topic