are spain and portugal in the same time zone
Spain has borders with four countries: Portugal, France, Andorra, and Morocco; as well as with the British Overseas Territory of Gibraltar. Clocks must normally be set one hour earlier than in Spain after crossing the borders with Portugal and Morocco. However, because Morocco reverts to standard time approximately during the month of Ramadan, time in Morocco is two hours earlier than Spain during that time. Note that Ramadan rotates through the seasons roughly once every 33 years.
Time in Spain