Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

Name Type
AYear Word
AMonth Word
Delta Integer

#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