Modified startEndEpochtime method to add argument for the month of the offset.