Notwithstanding any other provision of law, when elections for school district governing board members in existing or newly formed school districts are conducted in conjunction with the municipal election of a chartered city on other than the first Tuesday after the first Monday in November, newly elected members, unless the charter provides otherwise, shall take office 37 days after the day of election; provided, however, if the charter of a city provides for a municipal nominating or primary election and a general municipal election, the newly elected members shall take office 37 days after the date fixed by the charter for the general municipal election. The terms of office of outgoing members shall expire on the day before such newly elected members take office.