It shall be unlawful for the parent, guardian, or other adult person having the care and custody of a minor under the age of seventeen (17) years to knowingly permit such minor to loiter, idle, wander, stroll, or play in or upon the public streets, highways, roads, alleys, parks, playgrounds, wharves, docks, or other public grounds, public places and public buildings, places of amusement and entertainment, vacant lots or other unsupervised places, between the hours of 11:00 P.M. and 6:00 A.M. of the following day, official City time, except on Fridays and Saturdays, when the hours shall be 12:00 Midnight to 6:00 A.M.; provided, however, that the provisions of this Section shall not apply when the minor is accompanied by his or her parent, guardian, or other adult person having the care and custody of the minor, or where the minor is upon an emergency errand or legitimate business directed by his or her parent, guardian or other adult person having the care and custody of the minor. Each violation of the provisions of this Section shall constitute a separate offense.