Change the time algorithm.