diēs diem docet, or diēs posterior priōris est discipulus. The second formulation ('the next day is the student of the previous one') may possibly be older, although I haven't found an ancient attestation for either. I think it's based on Psalm 18.3.