Change the time encode