Question: how long does it take for the check engine light to turn off?
Answer: This will clear the emissions data from the vehicle memory as well as the readiness flag data. Reconnect the positive battery cable and turn the key in the vehicle ignition. Wait one minute and the check engine light error should be gone.