We propose a model of the hippocampus aimed at learning the timed association between subsequent sensory events. The properties of the neural network allow it to learn and predict the evolution of continuous rate-coded signals as well as the occurrence of transitory events, using both spatial and non-spatial information. The system is able to provide predictions based on the time trace of past sensory events. Performance of the neural network in the precise temporal learning of spatial and non-spatial signals is tested in a simulated experiment. The ability of the hippocampus proper to predict the occurrence of upcoming spatiotemporal events could play a crucial role in the carrying out of tasks requiring accurate time estimation and spatial localization.