The how much time you should spend in a demo account is to full understand the strategies and principles that would help you in a live account and by also demo trading with the amount that you have the intention to be used in starting your real trading and find out that you can fully manage it before investing such in a real account.