BKI_DichVuMatDat.CHRMCommon.get_last_day_of_month C# (CSharp) Method

get_last_day_of_month() public static method

public static get_last_day_of_month ( System.DateTime ip_dat_current_date ) : System.DateTime
ip_dat_current_date System.DateTime
return System.DateTime
        public static DateTime get_last_day_of_month(DateTime ip_dat_current_date)
        {
            DateTime result = ip_dat_current_date;
            result = result.AddMonths(1);
            result = result.AddDays(-(result.Day));
            return result;
        }

Same methods

CHRMCommon::get_last_day_of_month ( int ip_int_month ) : System.DateTime