<cDateTime>.DateStringLong

<< Click to Display Table of Contents >>

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

<cDateTime>.DateStringLong

 

Description

 

Returns date component of cDateTime object as verbose text respecting system locale.

 

Syntax

 

<cDateTime>.DateStringLong

 

Returns

 

Human readable date according to system locale.

 

Remarks

 

Restrictions

 

Do not rely on the output format, it may vary on different language mutations of Windows.

 

See also

 

Examples

 

' Create an object with current date and time

Dim myDateTime As New cDateTime

 

' Display date part of myDateTime as system locale dictates

MsgBox 0, "myDateTime verbose date:" + $CRLF + myDateTime.dateStringLong