DateTimeOffsetExtensions.GetDayNumberAndSuffix method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time.Extensions
Assembly Skybrud.Essentials.dll

GetDayNumberAndSuffix(DateTimeOffset)

Extension method

Gets the day of the month along with the English ordinal suffix based on the specified date.

public static string GetDayNumberAndSuffix(this DateTimeOffset date)

Parameters

The date.

Returns

The day number and ordinal suffix.