By law, your vehicle’s headlights must be turned on from:

By law, your vehicle’s headlights must be turned on from a half hour after sunset until a half hour before sunrise.
DMV Writen Test Logo