TimeUtils.ParseNumberFromMonthName method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Time |
---|---|
Assembly | Skybrud.Essentials.dll |
ParseNumberFromMonthName(string)
Static
Converts the specified monthName
into the numerical representation of the month
(eg. August
is the eight month of the year, and will result in 8
).
public static int ParseNumberFromMonthName(string monthName)
Parameters
monthName
String
The name of the month.
ParseNumberFromMonthName(string, IFormatProvider)
Static
Converts the specified monthName
into the numerical representation of the month
(eg. August
is the eight month of the year, and will result in 8
).
public static int ParseNumberFromMonthName(string monthName, IFormatProvider provider)
Parameters
monthName
String
The name of the month.
provider
IFormatProvider
An object that supplies culture-specific format information about
monthName
.