New York Laws
Article 2 - The Organized Militia
50 - Credit for Active Federal Service.

ยง 50. Credit for active federal service. For all purposes under this
chapter, members of the organized militia who entered the active
military service of the United States in time of war or under a call,
order or draft by the president or who hereafter enter such service
under like conditions or who enter and serve on active duty in the
military service of the United States in time of peace and who
thereafter return to the military service of the state, shall be
entitled to credit for time so served as if such service had been
rendered to the state.