時代に

in an era; during a period, in relation to the times; in step with the prevailing trends or circumstances

→ 時代
phrase Common #6,972
in an era; during a period Used to locate something in a particular historical or personal period.
JA: 彼は飛行機による旅行が危険であると考えられていた時代に生きていた。
EN: He lived in an era when air travel was considered dangerous.

僕の時代には大きくなって無理だった

Back in my day, it was impossible once you got older.

— ザ・マン・フロム・アース (2007)

彼は飛行機による旅行が危険であると考えられていた時代に生きていた。

He lived in an era when air travel was considered dangerous.

私たちは原子力の時代に生きている。

We live in the atomic age.

もっとよい時代に生まれていたら、彼は有名になっていただろう。

If he had been born in a better era, he would have become famous.

過ぎ去った時代には、事態は違っていた。

In bygone times, things were different.

私は学院時代に、市民役員のことを何年も前に聞いたような気がした。

I feel like I heard about the civic officers years ago, back when I was in college.

あの城は大昔の時代に建てられた。

That castle was built in ancient times.

phrase Rare #31,087
in relation to the times; in step with the prevailing trends or circumstances 時代 means “the times” or “the era,” and に marks the reference point. The full translation depends on what follows.
JA: この政府はまさしく時代に逆行している。
EN: This government is truly going against the times.

服装のこととなると彼女は時代に遅れている。

When it comes to fashion, she's behind the times.

その現象は今の時代に特有のものだ。

That phenomenon is unique to our times.

諦めた者と賢い者だけが勝者の時代にどこで息を吸う

In an age when only those who give up and the wise can win, where do you catch your breath?

— 天気の子 (2019)