CDOW( ) Function
Returns the day of the week from a given Date or DateTime expression.
CDOW(dExpression | tExpression)
Parameters
dExpression
Specifies the date from which CDOW( ) returns the day.tExpression
Specifies the datetime from which CDOW( ) returns the day.
Return Value
Character
Remarks
CDOW( ) returns the name of the day of the week as a string in proper noun format.
Example
STORE {^1998-02-16} TO gdDate
CLEAR
? CDOW(gdDate) && Displays Monday