mthName Function
Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
Retrieves the name of the specified month
str monthName(int number)
Parameters
Parameter |
Description |
---|---|
number |
The number of the month. |
Return Value
The name of the specified month.
Remarks
The valid values of the number parameter are 1 through 12. January is represented by 1, and December by 12.
Example
static void mthNameExample(Args _arg)
{
str s;
;
// MthName(6) returns the text string "June".
s = mthName(6);
print "Month name is " + s;
pause;
}
See also
Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).