Calculate baseTime based on the TimeHistory and not on the saved minutes (to have seconds precision)