. . "The courts have recognized the difference between a local law and an ordinance, resolution or other similar act of a legislative body, not only in form but also in substance." . . .