Hi Li777sa. I was in the same situation as you at various times, and I never had any problem in either leaving or entering. No one ever looked at any of the dates on my passport in either country. In fact, once I was in the airport at Madrid and the guy in front of me at passport control (from Japan) had his visa expired. The policewoman questioned him about it and was saying that his visa was expired and he had overstayed. He clearly didn't understand any Spanish. Anyway, he just kind of shrugged his shoulders she more or less mildly berated him for having an expired visa, but that was it.