Appearance
IncMonth
Declaration
function IncMonth(const AValue: TDateTime; const ANumberOfMonths: Integer): TDateTime;
Example
pascal
procedure OnMapEvent(var Value:Variant);
begin
Value := IncMonth(Date, 16); //returns a date incremented by 16 months.
end;Description
Returns the given date incremented by the number of months given.