Customizing Time Filter Quick Ranges in Kibana: dynamicly adapat based on a specific time

Assuming that I understood correctly, and in this case, your query would be similar to this one:

Where "now-6h/d" gets the current time minus six hours, rounded to the start of the day +6h.