City clerks of cities of the second and third class are hereby empowered to administer oaths for all purposes pertaining to the business and affairs of their respective cities.