Aqueduct.Extensions.Dates.GetDateDayWithSuffix C# (CSharp) Метод

GetDateDayWithSuffix() публичный статический Метод

Given a datetime object, returns the formatted day, "15th"
public static GetDateDayWithSuffix ( this date ) : string
date this The date to extract the string from
Результат string
        public static string GetDateDayWithSuffix(this DateTime date)
        {
            return String.Concat(date.Day, GetSuffix (date.Day));
        }