DateTimeOffsetExtensions.GetDaySuffix method

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

GetDaySuffix(DateTimeOffset)

Extension method

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

public static string GetDaySuffix(this DateTimeOffset date)

Parameters

The date.

Returns

The the ordinal suffix.