Night view switches on around the time the sun sets at your location, and day view switches on around sunrise. Also, night view will be switched on if you drive into a tunnel.

If you want to turn off automatic switching, press the menu button on your device, select Settings > Navigation > Day/Night view and choose either Day only or Night only.