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

<cDateTime> constructor

Previous pageReturn to chapter overviewNext page

 

Description

 

Instantiate a cDateTime variable.

 

Syntax

 

MyDateTime = New cDateTime

 

Returns

 

None.

 

Parameters

 

Name

Type

Optional

Meaning





 

Remarks

 

Restrictions

 

See also

 

Examples

 

'---Create a class variable

Dim MyDateTime  As cDateTime

 

'---Instantiate the class variable. This will automatically call internal Constructor

MyDateTime = New cDateTime