Mono Class Library: System.Globalization.DateTimeFormatInfo Overview | MembersSystem.Globalization.DateTimeFormatInfo.GetMonthName Method |
Gets the full name of the specified month based on the culture of the current thread. [Edit]
|
A string containing the full name of the month represented by month. For cultures with 12-month calendars the empty string is returned as the name of the 13th month. [Edit]
Type Reason ArgumentOutOfRangeException month is less than 1 or greater than 13. [Edit]
For the default (culture invariant) System.Globalization.DateTimeFormatInfo instance, this method returns one of the following strings:
month Return Value 1 "January" 2 "February" 3 "March" 4 "April" 5 "May" 6 "June" 7 "July" 8 "August" 9 "September" 10 "October" 11 "November" 12 "December" 13 "" Note: This method supports calendars with 13 months.[Edit]
Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0