PgDAC

TPgInterval.EncodeInterval Method

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

Class

TPgInterval

Syntax

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

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

Remarks

Call the EncodeInterval method to set 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