This will depend on the level of detail you want to do and your level of skill. To be on the safe side, plan for a couple of hours to clean your car thoroughly inside and out.
As you get more proficient with your tools and products and if you keep up with regular detailing, it should take less time as you’ll have a cleaner car to work with from the start.