PgDAC

TPgInterval.DecodeInterval Method

Provides the value of interval as years, months, days, hours, minutes, seconds, and microseconds.

Class

TPgInterval

Syntax

procedure DecodeInterval(var Years: integer; var Months: integer; var Days: integer; var Hours: integer; var Minutes: integer; var Seconds: integer; var Microseconds: integer);

Parameters
Years
Holds the years value.
Months
Holds the months value.
Days
Holds the days value.
Hours
Holds the hours value.
Minutes
Holsd the minutes value.
Seconds
Holds the seconds value.
Microseconds
Holds the misroseconds value.

Remarks

Call the DecodeInterval method to get the value of interval as years, months, days, hours, minutes, seconds, and microseconds.

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