mthName Function

Retrieves the name of the month whose number is specified by number.


str monthName(int number)

Parameter

Description

number

The number of the month.

The name of the month represented by number.

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: