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.