ODAC

TOraTimeStamp.Construct Method

Constructs datetime descriptor.

Class

TOraTimeStamp

Syntax

procedure Construct(Year: smallint; Month: byte; Day: byte; Hour: byte; Min: byte; Sec: byte; FSec: cardinal; TimeZone: string);

Parameters
Year
Holds the year.
Month
Holds the month.
Day
Holds the day.
Hour
Holds the hour.
Min
Holds the minute.
Sec
Holds the second.
FSec
Holds the fraction second.
TimeZone
Holds the time zone name.

Remarks

Call the Construct method to construct datetime descriptor. When calling the Construct procedure only relevant fields based on the datetime type are used. For the type with time zone, the date and time fields are assumed to be in the local time of the specified time zone. If the time zone is not specified, then session default time zone is assumed.

See Also

© 1997-2022 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback