I just read that the line between Vienna & Bratislava Hlavna station is to remain closed until approximately July 2025. It was originally expected to reopen Dec. 2024.
So, those planning a day trip from Vienna to Bratislava via train will need to use the Bratislava Petrzalka station on the west side of the river.
https://www.seat61.com/trains-and-routes/vienna-to-bratislava-by-train.htm