<cDateTime>.SystemTime

<< Click to Display Table of Contents >>

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

<cDateTime>.SystemTime

 

Description

 

Returns an UDT value of the cDateTime object as a SystemTime structure

 

Syntax

 

s = <cDateTime>.SystemTime

 

Returns

 

SystemTime UDT structure

 

Remarks

 

Read only.

 

Restrictions

 

See also

 

See SystemTime UDT structure.

 

Examples

 

' Create an object with current date and time

Dim myDateTime As New cDateTime

 

Dim mySystemTime As SystemTime

 

mySystemTime = myDateTime.SystemTime

 

' Show it to the user

MsgBox 0, "myDateTime as system time:" + $CRLF + UDT_ElementsData_Join(mySystemTime, $CRLF)