As early as the 17th century it was recognised that each ‘day’ in the Creation story might represent something far longer, preparing the way for the notion of geological epochs.

Steven Mithen. Make that the early fifth century. And of course the allegorical interpretation is still earlier.