Convert a date value to a character day of the week

     CDOW(<dExp>) --> cDayName


     <dExp> is the date value to convert.


     CDOW() returns the name of the day of the week as a character string.
     The first letter is uppercase and the rest of the string is lowercase.
     For a null date value, CDOW() returns a null string ("").


     CDOW() is a date conversion function used in formatting date displays
     for reports, labels, and screens.


     .  These examples illustrate CDOW():

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

 Files   Library is CLIPPER.LIB.

See Also: CTOD() DATE() DAY() DOW()


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.