Mese corrente
Restituisce una data posticipata di un numero specificato di mesi.
Struttura
IncMonth(const Date: TDateTime; NumberOfMonths: Integer): TDateTime;
Parametri
Valore restituito
Descrizione
IncMonth restituisce il valore del parametro Date, incrementato di NumberOfMonths mesi. NumberOfMonths può essere un valore negativo, per restituire una data che precede di N mesi.
Se il giorno del mese immesso è superiore all'ultimo giorno del mese risultante, il giorno viene impostato sull'ultimo giorno del mese risultante. L'ora del giorno specificata dal parametro Date viene copiata nel risultato. |