time horizon influence on saving vs investing