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
| В | Copy Code |
|---|---|
STORE {^1998-02-16} TO gdDate
CLEAR
? CDOW(gdDate) && Displays Monday | |
js editor
Web development