Every ordinance and every amendment to an ordinance hereafter adopted or approved by the town board of a town to which the provisions of this article are applicable, shall be entered in its minutes except that it shall not be necessary to enter in its minutes any map adopted or approved in connection with a zoning ordinance or amendment. The ordinance or amendment, or a summary or abstract thereof, shall be published in the official newspaper of the town or, if there is none, in a newspaper designated by the town board having general circulation in the town, once, and the affidavit of such publication shall be filed with the town clerk. Such ordinance or amendment shall take effect ten days after such publication; but such ordinance or amendment shall take effect from the date of its service as against a person served personally with a copy thereof, certified by the town clerk under the corporate seal of the town; and showing the date of its passage and entry in the minutes. No ordinance or amendment previously adopted or approved by any town board of a town to which the provisions of this article are applicable shall be void for failure of posting and/or filing affidavits of posting.
N.Y. Town Law § 133