I think the answer is instantly. The switch is opened, Games over.
This was in response to what happens when a light is switched off, and of course the answer given is so wrong on so many levels!
When the light is on, it is because power is delivered in an electrical circuit featured by voltage and current - likely to be direct current in a car or alternating current in a home. When the current is suddenly interrupted because the switch is thrown, electrical pressure builds up at the switch. This pressure is known as voltage. If the current was big enough, the voltage becomes high enough to ionise the surrounding air and cause sparks at the switch contacts.
This is precisely the phenomenon used by older car ignition systems to generate very high voltages from 12-Volt DC electrical systems.
On another level, the light will keep generating light as the current it receives slowly dies away. High power incandescent lamps will still be hot enough to shine for a while after receiving no power at all.
Albert Einstein would assert that nothing can travel faster than the speed of light in a vacuum. It would take at least that long for the signal from the switch to reach the bulb. He would also say that there is no such thing as a single instant. Time is relative to where you are and how fast you are moving. Your ’instant’ is different to mine! But you claim to know all this stuff?

