month

month(): Integer;

The month method of the Date primitive type returns the month (represented by the date value of the receiver) as an integer; for example, 08.

The code fragment in the following example shows the use of the month method.

if date <> null then
    if date.month <> value.month or date.year <> value.year then
        monthTable.showDays(value);
    endif;
endif;