<cDateTime>.DateString

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > Date and Time > cDateTime > cDateTime_Methods >

<cDateTime>.DateString

 

Description

 

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

 

Syntax

 

<cDateTime>.DateString

 

Returns

 

String in format respecting system locale; using numbers for days, months and years.

 

Remarks

 

Restrictions

 

See also

 

Examples

 

' Create an object with current date and time

Dim myDateTime As New cDateTime

 

' Display date part of myDateTime as DD.MM.YYYY string

MsgBox 0, "myDateTime date:" + $CRLF + myDateTime.dateString