It depends on your lender, but some pull credit immediately before final approval, which could be one or two days before closing.