AdoDateTime:Init()

<< Click to Display Table of Contents >>

Navigation:  Support Classes > AdoDateTime Class >

AdoDateTime:Init()

Previous pageReturn to chapter overviewNext page

Purpose

Create a new object of type AdoDateTime

 

Prototype

METHOD INIT ( uDate, cTime )  CLASS AdoDateTime

 

Argument(s)

uDate        (Optional) Numeric or Date.

cTime        (Optional)STRING Time value of the DateTime object

 

 

Description

DateTime objects can be initialized in two ways:

-        With Date and Time as separate arguments, in the form of a Date value and a time string

-        With a single numeric value indicating a date in the COM Date format, where the whole number is the Number of days since december 30 1899 and the fraction is the time as fraction of the day.

 If you choose to initialize a DateTime object with a date value only, the time part will be set to 00:00:00.00.

 

See Also

AdoDateTime