U@DAYFRDATE
U@DAYFRDATE calculates the day of the week for the input date. See Century Parameter Processing.
| Module | CALRTNS | 
Required Input
| Field | Type and length | Definition | 
|---|---|---|
| E@DRFRDATE | N 8 | Date to be converted. | 
Output
| Field | Type and length | Definition | 
|---|---|---|
| E@DRWEEKDAYN | N 8 | 1 = Sunday, 2 = Monday, and so on. | 
| E@DRERRORNBR | N 9 | 
               Error number. See Error Number  | 
            
| E@DRERRORVAR | A 20 | Input parameter is in error. | 
Programming Example
               |