Navigation:  ThinBASIC Language > thinBasic Functions > Date and Time > cDateTime > cDateTime_Properties >

<cDateTime>.DayOfWeek

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the Day-of-Week component of the cDateTime object.

 

Syntax

 

n = <cDateTime>.DayOfWeek

 

Returns

 

Number.

It is a numeric value in the range of 1-7 (representing Monday through Sunday).

 

Parameters

 

Name

Type

Optional

Meaning





 

Remarks

 

Restrictions

 

See also

 

Examples