MonthName: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
== Description ==
== 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.
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 ==
== Example ==

Revision as of 01:21, 24 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

Related Items

WeekdayName