The detrimental effects of mood on prospective memory are modulated by age.