What was Peter referring to when he said all the prophets foretold these days?

He was referring to Christ's First Advent—His coming, ministry, crucifixion, death, burial, and resurrection—all foretold in the Old Testament.

Watch the Teaching: Why Isn't the Church Mentioned in Prophecy?