delphi function to get year code example
Example: how to use incyear in delphi
function IncYear(const AValue: TDateTime; const ANumberOfYears: Integer): TDateTime;
function IncYear(const AValue: TDateTime; const ANumberOfYears: Integer): TDateTime;