PgDAC
Sets year, month, and day in the timestamp object.
TCustomPgTimeStamp
procedure EncodeDate(Year: integer; Month: integer; Day: integer);
Call the EncodeDate property to set year, month, and day in the timestamp object.