DAYN |
dayn returns the position of the day in the week for a date.
dayn( exp_date )
|
Element |
Description |
Restrictions |
|
exp_date |
Date type expression. |
None. |
# What day of the week is it? JRCOUR = dayn(date$)
dayn returns the position of the day in the week for a valid
date.
The position is from 1 (Monday) to 7 (Sunday).
The result is an Integer type.
|
Error |
Description |
|
ERMODE (10) |
Incorrect argument. |
|
EEDATE (56) |
Incorrect date. |
MONTH - YEAR - MONTH$ - DAY$ - GDAT$ - NDAY - NDAY$ - DATE$ - DATESYST - DATE
|
|