DateTimeExtensions.GetDaySuffix method

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

GetDaySuffix(DateTime)

Extension method

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

public static string GetDaySuffix(this DateTime date)

Parameters

date DateTime

The date.

Returns

The the ordinal suffix.