Your time horizon is the number of months, years, or decades you need to invest to achieve your financial goal.