change time interval for day