N.Y. General Municipal Law § 282
nd rules. 1. Every ordinance or local law and every amendment to an existing ordinance or local law (including any map incorporated therein) adopted pursuant to the provisions of this article shall be entered in the minutes of the board and a copy thereof (exclusive of the map incorporated therein) shall be published at least once in the official newspaper and a copy thereof together with a copy of any map incorporated therein shall be posted conspicuously in the office of the village clerk or on the sign board maintained by the town clerk pursuant to subdivision six of section thirty of the town law, as the case may be, and affidavits of the publication and posting thereof shall be filed with the clerk. Such ordinance or local law shall take effect ten days after such publication and posting; but such ordinance or local law shall take effect from the date of its service as against any person or corporation served personally with a copy thereof, certified by the clerk under the corporate seal of the village or town, as the case may be, and showing the date of its passage and entry in the minutes of the board.