How long can my money be invested?

Typically, the longer the period you have to invest, the more time you have to compensate for fluctuations in the market.