Use your headlights any time conditions prevent you from seeing at least:

Activate your headlights when driving under any conditions that prevent you from seeing at least 1,000 feet in front of your vehicle.
DMV Writen Test