How about replicate or something like that? Like you are taking the current time range with the right duration and then make copies it of every x time period?