The NYS law requires drivers to use their headlights:
from one-half hour after the sun sets to one-half hour before the sun rises.
when visibility is less than 1,000 feet.
when they use their windshield wipers to clear rain, fog or snow.
All of the above.