The economics of risk and time