made the train in time
運良く彼は電車に間に合った。
Luckily, he caught the train.
ゆうべはやっとのことで最終電車に間に合った。
I only just managed to catch the last train last night.
ギリギリ電車に間に合った。
I barely made the train.
電車に間に合ったよ。
I made it in time for the train.
なんとかギリギリ電車に間に合った。
I just barely made the train.