# Fixing date range to specific hours based on current date

**URL:** https://discuss.elastic.co/t/fixing-date-range-to-specific-hours-based-on-current-date/185434
**Category:** Kibana
**Created:** [June 12, 2019, 2:09pm UTC](https://discuss.elastic.co/t/fixing-date-range-to-specific-hours-based-on-current-date/185434 "2019-06-12T14:09:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![saif3r](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@saif3r](https://discuss.elastic.co/u/saif3r)
#### Post date: [June 12, 2019, 2:09pm UTC](https://discuss.elastic.co/t/fixing-date-range-to-specific-hours-based-on-current-date/185434/1 "2019-06-12T14:09:43Z")

</div>

Hello All,

I am currently working on a Kibana dashboard, which will be focused on visualizing the data for current date, except it should be fixed not to 00:00:00 but 05:30:00 instead.  
So for example, right now it's **12/06/2019 16:06:00** so we would like to show data from **12/06/2019 05:30:00** to **13/06/2019 05:29:59** , or basically from **12/06/2019 05:30:00** to **now**.  
And if we launch the viz tomorrow at **08:00:00** we would like to see the following range: **13/06/2019 05:30:00** - **14/06/2019 05:29:59**. It should switch dynamically every 24hours, at **05:30:01**.

Is that possible?  
Thanks in advance, cheers!

---

<div class="post-metadata">

### Author: ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)
#### Post date: [June 12, 2019, 6:41pm UTC](https://discuss.elastic.co/t/fixing-date-range-to-specific-hours-based-on-current-date/185434/2 "2019-06-12T18:41:29Z")

</div>

This is not currently possible. The date math expressions are all relative to now to provide relative dates like last month (now-1M). You can open an enhancement request at [https://github.com/elastic/kibana/issues/new?template=Feature\_request.md](https://github.com/elastic/kibana/issues/new?template=Feature_request.md)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 10, 2019, 6:41pm UTC](https://discuss.elastic.co/t/fixing-date-range-to-specific-hours-based-on-current-date/185434/3 "2019-07-10T18:41:30Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
