Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>cdow()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CDOW()

Syntax:     CDOW(<expD>)

Purpose:    To convert a date value to a string representing the name of
            the day of the week.

Argument:   <expD> is the date value to convert.

Returns:    A character string.

            CDOW() returns the name of the day of the week with the
            first letter in upper case and the rest of the string in
            lower case.  The maximum return value length is nine
            characters for Wednesday.  A null date value returns a null
            string ("").

Usage:      CDOW() is useful alone or as part of date formatting
            expressions for reports, labels, and screens.

Library:    CLIPPER.LIB


----------------------------------- Examples -------------------------------

   ? DATE()                      && Result: 09/01/87
   ? CDOW(DATE())                && Result: Tuesday
   ? CDOW(DATE() + 7)            && Result: Tuesday
   ? CDOW(CTOD("06/12/87"))      && Result: Friday


See Also: DAY() DOW()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson