The mayor and council shall establish a fiscal year for the city and all its agencies by ordinance unless otherwise provided by state or federal law.