Internet Direct (Indy) Version 9.0.1 Beta
TIdDateTimeStamp.AddWeeks
Adds a number of weeks to the timestamp.

procedure AddWeeks(ANumber: Cardinal);
Parameters
ANumber: Cardinal
Number of weeks to be added.

Description
AddWeeks is a procedure that adds the number of weeks in ANumber to the date / time. Day and Year are adjusted accordingly.