When you swim across a river does the time it takes to get to the other side depend on the rate of flow of the water?

no, the current speed just affects how far downstream you land.