Back to Devexpress

dxChangeMonth(Word,Word,Integer) Method

vcl-cxdateutils-dot-dxchangemonth-x28-7d517766-x29.md

latest734 B
Original Source

dxChangeMonth(Word,Word,Integer) Method

Changes the date by a specified number of months.

Declaration

delphi
procedure dxChangeMonth(var AYear: Word; var AMonth: Word; Delta: Integer);

Parameters

NameType
AYearWord
AMonthWord
DeltaInteger

Remarks

The AYear and AMonth parameters identify the date to be changed by a specified number of months. The Delta parameter can be either a positive or a negative value.

See Also

cxDateUtils Unit