Dubrovnik a small town, so unless you plan to take day trips to islands or other attractions nearby, two days is the perfect amount of time to get to know this ancient city.