CDOW( ) Function

Returns the day of the week from a given Date or DateTime expression.

CDOW(dExpression | tExpression)

Return Values

Character

Parameters

  • dExpression
    Specifies the date from which CDOW( ) returns the day.
  • tExpression
    Specifies the datetime from which CDOW( ) returns the day.

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

See Also

DAY( ) | DOW( ) | SET FDOW | SET FWEEK | SYS( ) Functions Overview | DATETIME( )