にいた時

when (someone) was in or at

→ に
phrase Uncommon #9,686
when (someone) was in or at Used to describe when someone was in a place. いた is the past form of いる, meaning to be or exist (for people and animals).
JA: 京都にいた時、毎朝お寺を散歩しました。
EN: When I was in Kyoto, I walked around the temples every morning.

東京にいた時は、毎日寿司を食べてたよ。

When I was in Tokyo, I ate sushi every day.

サンヒョンの方は、軍隊にいた時のニックネーム、ヒョンは軍隊に行かなかっただろ?

What was Sanghyun’s nickname when he was in the military? Hyun, you didn’t serve, did you?

— ベイビー・ブローカー (2022)

ロンドンにいた時に彼女と友達になったんだ。

I became friends with her when I was in London.

トムがボストンにいた時、メアリーのもとを訪れる機会はなかった。

When Tom was in Boston, he never had a chance to visit Mary.

ヘルメス号にいた時と同じ大きいデータだ

It’s the same huge amount of data as when we were on the Hermes.

— オデッセイ (2015)