The city council may assess, levy and collect an ad valorem tax on all real and personal property within the corporate limits of the city that is subject to such taxation by the state and county. This tax is for the purpose of raising revenues to defray the costs of operating the city government, of providing governmental services, for the repayment of principal and interest on general obligations, and for any other public purpose as determined by the city council in its discretion. The city council, shall establish a millage rate for the city property tax, a due date, and the time period within which these taxes must be paid. The city council, by ordinance, may provide for the payment of these taxes by two installments or in one lump sum, as well as authorize the voluntary payment of taxes prior to the time when due.