<cDateTime>.DayOfWeekString

<< Click to Display Table of Contents >>

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

<cDateTime>.DayOfWeekString

 

Description

 

Returns the day of week in text form respecting system locale.

 

Syntax

 

<cDateTime>.DayOfWeekString

 

Returns

 

String in format respecting system locale, for example "Saturday" on English Windows, but "sobota" on Czech ones!

 

Remarks

 

Restrictions

 

See also

 

Examples

 

' Create an object with current date and time

Dim myDateTime As New cDateTime

 

' Display day of week for myDateTime according to system locale

MsgBox 0, "myDateTime day of week:" + $CRLF + myDateTime.dayOfWeekString