Gets the abbreviated name of the specified month based on the culture of the current thread.
- month
- A int from 1 through 13 representing the month name to retrieve.
A string containing the abbreviated 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.
Type Reason ArgumentOutOfRangeException month is less than 1 or greater than 13.
For the default (culture-invariant) System.Globalization.DateTimeFormatInfo instance, this method returns one of the following strings:
month Return Value 1 "Jan" 2 "Feb" 3 "Mar" 4 "Apr" 5 "May" 6 "Jun" 7 "Jul" 8 "Aug" 9 "Sep" 10 "Oct" 11 "Nov" 12 "Dec" 13 "" Note: This method supports calendars with 13 months.
Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0