monthName

monthName(): String;

The monthName method of the Date primitive type returns the name of the month (for the date value of the receiver) as a string.

The following example shows the use of the monthName method.

date(set: Boolean; value: Date io) mapping, updating;
begin
    if set and isTransient and date <> value then
        if date <> null then
            if date.month <> value.month or date.year <> value.year then
                monthTable.showDays(value);
            endif;
        endif;
        monthTable.selectDay(value);
        monthLabel.caption := value.monthName;
        yearLabel.caption := value.year.String;
        date := value;
        if changeType = ChangeType_None then
            changeType := ChangeType_Script;
        endif;
        click(self);
        changeType := ChangeType_None;
    endif;
end;

If you do not define the EnhancedLocaleSupport parameter in the [JadeEnvironment] section of the JADE initialization file on the database node or you set it to false, inconsistent results could be returned to the application server when running in JADE thin client mode and there are locale overrides, as all overrides on the application server are suppressed if enhanced locale support is not enabled. Formatting of locale data is done on the application server, based on the locale of the corresponding presentation client.