к тому времени, как

by the time

→ к
phrase Rare #31,798
by the time Introduces a clause marking the time by which something happens or has happened.
RU: К тому времени, как мы добрались до дома, дождь уже закончился.
EN: By the time we got home, the rain had already stopped.

К тому времени, как мы пришли, концерт уже закончился.

By the time we arrived, the concert had already ended.

Но я хочу, чтобы грузовик заработал, к тому времени, как они уйдут.

But I want the truck to be working by the time they leave.

— Цветы войны (2011)

К тому времени, как коп уехал, Матиас уже забрал деньги.

By the time the cop left, Mathias had already taken the money.

— Элитный отряд (2007)