Appearance
MonthOf
Declaration
function MonthOf( const AValue : TDateTime) : Word
Example
pascal
procedure OnMapEvent(var Value:Variant);
begin
Value := MonthOf(Date); //if date is 2009-06-25 then result is 6
end;Description
Returns the number of the month represented by the given date value. The resulting month is a number between 1 and 12.