MonthName Function
Syntax
MonthName(NumZ{month}[, CondZ{abbrev}])
Group
Description
Returns the localized name of the month.
Parameters
| Parameters | Description |
|---|---|
| month | Returns the localized name of this month. (1-12) |
| abbrev | If this conditional value is True, it returns the abbreviated form of the month name. |
Example
Sub Main Debug.Print MonthName(1) 'January Debug.Print MonthName(Month(Now)) End Sub
See also