Draining the wrong fuel from a car can take anywhere from a few minutes to a few hours depending on:
How much fuel has been put in the tank
The car model and type of fuel system/engine
Whether you’re sure or unsure you have misfuelled (diagnosing misfuelling will take longer)