Wann war das letzte und wann ist das nächste Datum, in welchem sich alle Ziffern unterscheiden?

25.06.1987 und 17.06.2345