Neuropsychology

A person remembers past events but repeatedly forgets to carry out an intended action at a specified time. Which ability is most directly affected?