DAY$ |
day$ returns the string that contains the name of the day in the current language.
day$(date_exp)
day$(num_exp)
|
Element |
Description |
Restrictions |
|
date_exp |
Date Expression |
None |
|
num_exp |
Any Numeric Expression |
None |
# Display of the date in lettersInfbox day$(date$)-", le"-num$(day(date$))-month$(date$)
# Display of "Tuesday"Infbox day$(dayn([14/07/1992]))
day$ extracts the name of the day corresponding to a valid date. Its parameter can also be a numeric expression corresponding to the row of a day in the week. In this case, its value must be between one (1), Monday and seven (7), Sunday. If it is not, it is converted to the integer of the interval [1, 7] that is congruent to it.
The result type is Char.
|
Error |
Description |
|
ERMODE (10) |
The parameter is invalid. |
|
|