1At that time; at that moment — refers to a specific time or moment being talked about.
電話が鳴った。その時、私は料理をしていた。
The phone rang. At that moment I was cooking.
彼が戻ってきたのはその時だった。
It was then that he returned.
台風が来た。その時、外出は危険だった。
The typhoon arrived. At that time, going out was dangerous.