However, one night in Cordoba, resulting in one full day (or one and a half days) in the city, would be my suggestion of the bare minimum time that you should spend. One day is enough time for you to get to know the main tourist attractions while at the same time having a superficial contact with the city's lifestyle.