Use a time range loop.