Sets the value of interval as years, months, days, hours, minutes, seconds, and microseconds.
procedure EncodeInterval(Years: integer; Months: integer; Days: integer; Hours: integer; Minutes: integer; Seconds: integer; Microseconds: integer);
Call the EncodeInterval method to set the value of interval as years, months, days, hours, minutes, seconds, and microseconds.