DateTimeExtensions.GetLocalMonthName method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Time.Extensions |
---|---|
Assembly | Skybrud.Essentials.dll |
GetLocalMonthName(DateTime)
Extension method
Gets the name of the month according to the current culture.
public static string GetLocalMonthName(this DateTime date)
Returns
The local name of the month.
GetLocalMonthName(DateTime, CultureInfo)
Extension method
Gets the name of the month according to culture
.
public static string GetLocalMonthName(this DateTime date, CultureInfo culture)
Parameters
culture
CultureInfo
The instance of CultureInfo to be used.
Returns
The local name of the month.