Nokia Lumia 920 - How does HERE Drive switch between day and night mode?

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

If you want to disable the automatic mode switching, you can force the map to be in day or night mode in Settings > Map options > Colours.