The ITDateTime interface
Base class: ITValue
Allows access to the fields of a database time object (such as date, time, or interval).
This interface provides the following methods.
Method | Description |
---|---|
int Year() | Returns the year or years. |
int Month() | Returns the month or months. |
int Day() | Returns the day or days of the month. |
int Hour() | Returns the hour or hours. |
int Minute() | Returns the minute or minutes. |
float Second() | Returns the second or seconds. |
ITBool FromDate(int year, int month, int day) | Sets the date portions of the object exposing ITDateTime. |
ITBool FromTime(int hour, int minute, float second) | Sets the time portions of the object exposing ITDateTime. |