Hola No se si entiendo lo que quieres decir pero yo para sumar dias o meses a una fecha utilizo las funciones de delphi.
IncMonth (sumar Meses)
IncDay (sumar dias)
Extraido de la ayuda delphi.
---------------------------
function IncDay(const AValue: TDateTime; const ANumberOfDays: Integer = 1): TDateTime;
Description
IncDay returns the value of the AValue parameter, incremented by ANumberOfDays days. ANumberOfDays can be negative, to return a date N days previous.
The time of day specified by the AValue parameter is copied to the result.
Un saludo.
|