The time limitations applicable to the offense for which a person is prosecuted apply to a conviction or punishment for a lesser and included offense.