The city or town council or other legislative body of any incorporated city or town shall have the power to prohibit or regulate any worldly activity on Sunday between the hours of noon and six P. M. and between the hours of eight P. M. and midnight on Sunday.