New York Laws
Article 2 - Miscellaneous Application Provisions
10 - Time for Compliance.

ยง 10. Time for compliance. All alterations required by this chapter
upon dwellings erected before its adoption by or application to any
city, town or village, in whole or in part, shall, unless specifically
provided otherwise in this chapter, be made not later than five years
after such adoption or application, or at such earlier date as may be
deemed necessary by the department in order to remove a condition
dangerous or detrimental to life or health.