You are driving at night and a car is coming toward you. To help avoid blinding the other driver with your headlights, dim your lights when the other car is within:

Change to your low beam headlights when driving at night and an oncoming vehicle is within 500 feet of your vehicle.
DMV Writen Test