In such an economy, money loses its value continuously, and money has the most value right when it is created. And there are two sources of creation of money in the modern economies.
One is at the point of government spending. Another is at the point of loaning. Money has the most value at these locations, and should be had from these points before investing it.