change time & range