Aqueduct.Extensions.Dates.GetDateDayWithSuffix C# (CSharp) Method

GetDateDayWithSuffix() public static method

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