About a year.
The first 3 months was full of procrastinating and collecting ideas and making plans.
The next 6 months was just me writing, writing and writing!
The last 3 months was proof reading, editing, designing cover and formatting.
However, despite all of this the last 3 months was the most stressful months I have ever had and took a lot of energy to get through them.