March 2003
Intermediate to advanced
512 pages
14h 30m
English
MonthName Function
MonthNamemonthnumber[,abbreviate]
monthnumberUse: Required
Data Type: Long
The ordinal number of the month, from 1 to 12.
abbreviateUse: Optional
Data Type: Boolean
A flag to indicate whether an abbreviated month name should be returned.
A String.
Returns the month name of a given month. For example, 1
returns January, or if abbreviate is
True, Jan.
The default value for abbreviate is
False.
monthnumber must be an integer or a
long; it can’t be a date. Use DatePart("m",
dateval ) to obtain a month number from a
date.
Read now
Unlock full access