What speed did the World War 2 diesel submarine travel?

U. S. submarines in World War II had a top surface speed of around 20-knots. Submerged, their top speed was around 9-knots, although at that speed they would exhaust their batteries after one hour and have to surface to recharge them.