System.TimeUtils.ToLastDayOfMonth C# (CSharp) 메소드

ToLastDayOfMonth() 공개 정적인 메소드

public static ToLastDayOfMonth ( this dt ) : System.DateTime
dt this
리턴 System.DateTime
	    public static DateTime ToLastDayOfMonth(this DateTime dt)
	    {
	        return new DateTime(dt.Year,dt.Month,DateTime.DaysInMonth(dt.Year,dt.Month));
	    }