Spain is 7 hours ahead of Mexico City, (CDMX) except for the Canary Islands that is 6 hours ahead.