How long does it take?

How long does/did/will it take to ….. ?

Example: How long does it take to get to Madrid?

It takes about three hours by car.

Example: How long did it take you to get here?

It took me about thirty minutes.

Example: How long will it take you to get to London?

It’ll take me about three hours by plane.