Internet Direct (Indy) Version 9.0.2 Beta
TIdDateTimeStamp.SubtractYears
Subtracts the specified number of years from the Indy timestamp.

procedure SubtractYears(ANumber: Cardinal);
Parameters
ANumber: Cardinal
Number of years to subtract from the Indy timestamp.

Description
SubtractYears is a procedure used to subtract the number of years specified in ANumber from the Indy timestamp. SubtractYears will adjust Year accordingly.