replacing time with from and to