Add time interval.