Spanish license

I believe the limit is 180 days if you are not a resident.This applies to your driving licence and UK reg car if I am correct.