Enough time for a short sale?

To you that are experienced with short sales… What is the least amount of time, before the foreclosure sale, that you have started the short sale process and were successfull in stopping the foreclosure and closing the deal?