TimeHelper.GetDaySuffix method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Time |
---|---|
Assembly | Skybrud.Essentials.dll |
GetDaySuffix(DateTime)
Static
Gets the English ordinal suffix of the day based on the specified date
.
public static string GetDaySuffix(DateTime date)
Parameters
date
DateTime
The date.
Returns
The day ordinal suffix.
GetDaySuffix(DateTimeOffset)
Static
Gets the English ordinal suffix of the day based on the specified date
.
public static string GetDaySuffix(DateTimeOffset date)
Parameters
date
DateTimeOffset
The date.
Returns
The day ordinal suffix.