Only these are OK: By the time we get there, it will be closed. By the time she arrived, most of the other guests had left . Time is defined by the rest of the clause (we get there, she arrived ), so the demonstrative adjectives are not possible.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.