MonthName: Difference between revisions
Jump to navigation
Jump to search
Created page with "MONTHNAME(''month''[, ''abbreviate'']) '''Description''' MONTHNAME returns the string name of the given month. The required parameter, ''month'', is a numeric expression ran..." |
No edit summary |
||
Line 1: | Line 1: | ||
MonthName(''month''[, ''abbreviate'']) | |||
== Description == | |||
MonthName returns the string name of the given month. The required parameter, ''month'', is a numeric expression ranging from 1 to 12. The optional parameter, ''abbreviate'', is a boolean variable that specifies whether MONTHNAME returns the complete month name or its three-letter abbreviation. | |||
== Example == | |||
<pre> | <pre> | ||
Rem MonthName Example | |||
Print MonthName(Month(NOW)) | |||
Print MonthName(12, TRUE) | |||
</pre> | </pre> | ||
== Output == | |||
<pre> | <pre> | ||
Line 20: | Line 20: | ||
</pre> | </pre> | ||
== Related Items == | |||
[[weekdayname|WEEKDAYNAME]] | [[weekdayname|WEEKDAYNAME]] | ||
[[Category:Language Reference]] |
Revision as of 02:18, 17 August 2012
MonthName(month[, abbreviate])
Description
MonthName returns the string name of the given month. The required parameter, month, is a numeric expression ranging from 1 to 12. The optional parameter, abbreviate, is a boolean variable that specifies whether MONTHNAME returns the complete month name or its three-letter abbreviation.
Example
Rem MonthName Example Print MonthName(Month(NOW)) Print MonthName(12, TRUE)
Output
August Dec