CDoW()

 

CDOW()

Converts a date to the day of week

Syntax

      CDOW(<dDate>)  --> cDay

Arguments

<dDate> Any date expression.

Returns

<cDay> The current day of week.

Description

This function returns a character string of the day of the week, from a date expression <dDate> passed to it. If a NULL date is passed to the function, the value of the function will be a NULL byte.

Examples

      ? CDOW( Date() )
      IF CDOW( Date() + 10 ) == "Sunday"
         ? "This is a sunny day."
      ENDIF

Compliance

Clipper

Platforms

All

Files

Library is rtl

Seealso

DAY(), DOW(), DATE(), CMONTH()

Advertisements

3 responses to “CDoW()

  1. Pingback: Harbour All Functions – C | Viva Clipper !

  2. Pingback: Harbour Date & Time Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s