Forum:KB:How long does Luke spend in his X-Wing?

How long does it take Luke to get from Hoth to Dagobah and then to Bespin? I seem to recall that the Falcon take weeks, but I realize it has a damaged hyperdrive at the time. It seems to me that there must be a practical limit in terms of how long someone can be in the cockpit of so small a ship without rest-room breaks?