Specific Periods in Time Range Request

Is there any available feature to send requests with specific periods of a day ?
For example if I select “Previous Week” it will request 00:00:00 to midnight but can I set it to request included days with time range of:
06:00:00 to 17:00:00 for example ?

there is no way currently to only query for specified periods for each day. I cannot think of any time series database that supports this type of time range filters either