<cDateTime>.Days

<< Click to Display Table of Contents >>

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

<cDateTime>.Days

 

Description

 

Returns the number of days since the beginning of the year.

 

Syntax

 

n = <cDateTime>.Days

 

Returns

 

Number in range 1 - 365/366

 

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 days:" + $CRLF + myDateTime.Days