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 representing the day of the week for a given date.
Syntax
Result = &DAY_WEEK(Date)
Parameters
Description |
Contents |
Controls |
|
Result |
NUM_E or NUM_P type numeric variable of length <= 9 with 0 decimals. |
Number representing the day of the week corresponding to the date given as a parameter. Possible values: 1 Sunday 2 Monday 3 Tuesday 4 Wednesday 5 Thursday 6 Friday 7 Saturday |
|
Date |
DATE type variable. |
Date for which the number representing the day of the week is to be calculated. |
Mandatory parameter. |
Example
DAY_WEEK = &DAY_WEEK(DATE_VAR)
List of predefined functions by topic