MONTH_NAME Name
MONTH_NAME Purpose
This function returns the name of the desired calendar month.
Category
Calendar
Calling Sequence
Result = MONTH_NAME( Index ) Inputs
Index: The index number of the calendar month (0-11), of type integer.
Can be a scalar or array.
Outputs
Result: Returns the name of calendar month #Index.
Keyword Parameters
ABBREVIATE: The function returns the three-letter abbreviation of the
month. The default is the full name.
Uses
DIMENSION.pro
Procedure
This function returns a string with the name of month #Index.
Example
Get the name of calendar month #2.
result = MONTH_NAME( 2 )
Result = 'March'
Modification History
Written by: Daithi A. Stone (stoned@uvic.ca), 2000-07-10.
Modified: DAS, 2001-01-24 (changed index to 0-11).
Modified: DAS, 2002-01-13 (fixed conversion algorithm to 0-11 interval)
Modified: DAS, 2010-08-10 (stoned@csag.uct.ac.za; allowed large
vectors; altered formating)