PgDAC
Provides year, month, and day from the timestamp object.
TCustomPgTimeStamp
procedure DecodeDate(var Year: integer; var Month: integer; var Day: integer);
Call the DecodeDate method to get year, month, and day from the timestamp object.