DateTimeFormatInfo..::..GetMonthName Method
Returns the culture-specific full name of the specified month based on the culture associated with the current DateTimeFormatInfo object.
Namespace:
System.GlobalizationAssembly: Bridge (in Bridge.dll)
Syntax
Parameters
- month
- Type: System..::..Int32
An integer from 1 through 13 representing the name of the month to retrieve.
Return Value
The culture-specific full name of the month represented by month.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentOutOfRangeException | month is less than 1 or greater than 13. |