[T]he ability to recall past events and the ability to predict future events (i.e., mental time travel), emerge in tandem between the ages of 3 and 5 years.
Busby Grant, Janie & Suddendorf, Thomas. (2005). Recalling yesterday and predicting tomorrow. Cognitive Development. 20. 362-372. 10.1016/j.cogdev.2005.05.002.