May 1995
Beginner
508 pages
16h 14m
English
MonthName Function
MonthNamemonthnumber[,abbreviate]
monthnumber
Use: Required
Data Subtype: Long
The ordinal number of the month, from 1 to 12.
abbreviate
Use: Optional
Data Subtype: Boolean
A flag to indicate whether an abbreviated month name should be returned.
A Variant of subtype 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.
| DatePart Function, Month Function, WeekdayName Function |
Read now
Unlock full access