System.DateTimeExtension.StartOfMonth C# (CSharp) 메소드

StartOfMonth() 공개 정적인 메소드

public static StartOfMonth ( this date ) : System.DateTime
date this
리턴 System.DateTime
        public static DateTime StartOfMonth(this DateTime date)
        {
            return new DateTime(date.Year, date.Month, 1);
        }