Depending on what you want to do but from 2-5 days. Zadar is a great city to wander around, and there are also a lot of day trips that you can take from there.