That depends. It was an original colony, so it the date could be:
-1776 when the US declared its independence;
-1783 when the Treaty of Paris ended the war;
-1789 when our first president took the oath of office placing it under our present form of government; or
-1791, when Vermont became the 14th state, leaving New York to its present boundaries.