в тот момент, когда

at the moment when

→ в
phrase Rare #39,614
at the moment when Introduces the exact time when an event occurred or occurs; often translated naturally as “when” in English.
RU: Я понял всё в тот момент, когда она улыбнулась.
EN: I understood everything at the moment when she smiled.

Ты можешь быть идиотом в тот момент, когда будешь прав.

You can be an idiot at the very moment when you're right.

Но в тот момент, когда он открыл свой рот, случилось чудо!

But the moment he opened his mouth, a miracle happened!

— Три идиота (2009)

Их судьба была решена в тот момент, когда Сантьяго умер.

Their fate was sealed the moment Santiago died.

— Несколько хороших парней (1992)