Aqueduct.Extensions.Dates.GetFormattedMonthAndDay C# (CSharp) 메소드

GetFormattedMonthAndDay() 공개 정적인 메소드

Given a datetime object, returns the formatted month and day, i.e. "April 15th"
public static GetFormattedMonthAndDay ( this date ) : string
date this The date to extract the string from
리턴 string
        public static string GetFormattedMonthAndDay(this DateTime date)
        {
            return String.Concat(String.Format("{0:MMMM}", date), " ", GetDateDayWithSuffix(date));
        }