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