Avaliação do Usuário

Estrela inativaEstrela inativaEstrela inativaEstrela inativaEstrela inativa
 

CDoW()

 

Converts a date to the day of week

 

Syntax

 

CDoW( <dDate> ) --> cDay

 

Argument(s)

 

<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.

 

Example(s)

 

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

 

Status

 

Ready

 

Compliance

 

This is CA-Cl*pper v5.2 compliant

 

Platform(s)

 

This is available on all platforms

 

File(s)

 

Library is core

 

See also

Day(), DoW(), Date(), CMonth()