Yesterday, Today and Tomorrow (1963)

(Summary from Wikipedia)