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

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

Description
SubtractWeeks is a procedure used to subtract the number of weeks specified in ANumber from the Indy timestamp. SubtractWeeks will adjust Day and Year accordingly.