The MonthOf function returns the number of the month, represented by the given date value AValue. The month result is a number between 1 and 12.
Declaration: function MonthOf( const AValue : TDateTime) : Word
function MonthOfTheYear(const AValue: TDateTime): Word;
An example follows.
MonthOf has the same functionality as the MonthOfTheYear function.