CDOW()
From Lianjapedia
Revision as of 11:09, 7 October 2019 by Yvonne.milne (Talk | contribs)
Contents
Purpose
Function to return the character day of week
Syntax
CDOW(<expD> | <expT>)
See Also
AMPM(), CMONTH(), CTOD(), CTOT(), DATE(), DATETIME(), DAY(), DAYS(), DMY(), DOW(), DTOA(), DTOC(), DTOM(), DTOS(), DTOT(), DTOV(), ELAPTIME(), EMPTY(), EPOCH(), GOMONTH(), HOUR(), HOURS(), LTOS(), MDY(), MINUTE(), MINUTES(), MONTH(), MTOD(), MTOS(), QUARTER(), SEC(), SECONDS(), SECS(), SET CENTURY, SET DATE, SET EPOCH, SET HOURS, SET MARK, SET SECONDS, STOD(), STOT(), STR(), STRFTIME(), TIME(), TIMEOFDAY(), TIMESTAMP(), TSTRING(), TTOC(), TTOD(), TYPE(), VAL(), VALIDTIME(), VTOD(), WEEK(), YEAR()
Description
CDOW() returns the name of the day of the week from the specified date expression <expD> or datetime expression <expT> as a character string.
Example
store cdow(date()) to dayofweek ? dayofweek Sunday dayofweek = cdow(date()) ? dayofweek Sunday dayofweek = cdow(datetime()) ? dayofweek Sunday