I don't know the etymological origin, but to my mind It can be a fairly very simple historical relic. Traditionally, being aware of the calendar month or date was much, Substantially rarer than we now get as a right.) a noun phrase and type adverbials with them. Some prepositions like 'prior to', 'about' or 'all over' may be put in either place. An