<< Click to Display Table of Contents >> AdoDateTime:Init() |
![]() ![]() ![]() |
Create a new object of type AdoDateTime
METHOD INIT ( uDate, cTime ) CLASS AdoDateTime
uDate (Optional) Numeric or Date.
cTime (Optional)STRING Time value of the DateTime object
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.