PgDAC

TCustomPgTimeStamp.DecodeDateTime Method

Provides the value of the timestamp object as year, month, day, hour, minute, second, and microsecond.

Class

TCustomPgTimeStamp

Syntax

procedure DecodeDateTime(var Year: integer; var Month: integer; var Day: integer; var Hour: integer; var Minute: integer; var Second: integer; var Microsecond: integer);

Parameters
Year
Holds the year.
Month
Holds the month.
Day
Holds the day.
Hour
Holds the hour.
Minute
Holds the minute.
Second
Holds the second.
Microsecond
Holds the microsecond.

Remarks

Call the DecodeDateTime method to get the value of the timestamp object as year, month, day, hour, minute, second, and microsecond.

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