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));
        }