<cDateTime>.Month

<< Click to Display Table of Contents >>

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

<cDateTime>.Month

 

Description

 

Returns the Month component of the cDateTime object.

 

Syntax

 

n = <cDateTime>.Month

 

Returns

 

Number in range 1 - 24.

 

Remarks

 

Restrictions

 

Read only.

 

See also

 

Examples

 

' Create an object with current date and time

Dim myDateTime As New cDateTime

 

' Show it to the user

MsgBox 0, "myDateTime month:" + $CRLF + myDateTime.Month