Why does it matter? You have at least 3-4 other reasons why it is not a risk.
But to answer your question there is no specific time frame, but it starts as soon as it is outside the body and it takes less then minutes.
How long is a virus before its inactive
No because it will not get deep enough, will not have enough blood and any virus would have been inactive by then.