mthName Function

Retrieves the name of the specified month


str monthName(int number)

Parameter

Description

number

The number of the month.

The name of the specified month.

The valid values of the number parameter are 1 through 12. January is represented by 1, and December by 12.

static void mthNameExample(Args _arg)
{
    str s;
    ;
 
    // MthName(6) returns the text string "June".
    s = mthName(6);  
    print "Month name is " + s;
 
    pause;
}

Community Additions

ADD
Show: