Found this online.
In terms of Star Wars years, Return of the Jedi is set in 4 ABY (after the Battle of Yavin) and The Force Awakens is set in 34 ABY, which means The Mandalorian takes place around 9 ABY. This is a period of time when the New Republic, the democratic government formed by the Rebel Alliance following their victory over the Empire, has only a tenuous hold on the galaxy — especially its lawless outskirts.
And here is a complete timeline of all major Star Wars events.
https://www.gamesradar.com/star-wars-timeline/
So 50 years prior to The Mandalorian is roughly the same time Anakin was born.