bhe basta che confronti la data attuale che è NOW() per MySQL con la data che vuoi controllare se sono differenti
Regole del Forum