Mercury transits the Sun about 13 times a century. The last one was 11 November 2019. The next is 13 November 2032, then 7 November 2039. These dates are from NASA's planetary transit canon.
Venus transits come in pairs eight years apart, then a wait of more than a century. The last pair was 8 June 2004 and 6 June 2012. The next pair is 10–11 December 2117 and 8 December 2125.
A transit is not a solar eclipse. The planet is a small black disk on the Sun. Viewing still needs a solar filter. This site does not compute local contact times for a transit.