# How to set kibana timepicker of the date and hour in the data

**URL:** https://discuss.elastic.co/t/how-to-set-kibana-timepicker-of-the-date-and-hour-in-the-data/347143
**Category:** Kibana
**Tags:** dashboard
**Created:** [November 14, 2023, 5:28pm UTC](https://discuss.elastic.co/t/how-to-set-kibana-timepicker-of-the-date-and-hour-in-the-data/347143 "2023-11-14T17:28:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Dilpreet](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@Dilpreet](https://discuss.elastic.co/u/Dilpreet)
#### Post date: [November 14, 2023, 5:28pm UTC](https://discuss.elastic.co/t/how-to-set-kibana-timepicker-of-the-date-and-hour-in-the-data/347143/1 "2023-11-14T17:28:37Z")

</div>

Hello All,

I want to set the timepicker in kibana dashboard to the latest date and time. For context : I have data for multiple accounts. Each account runs on a different time in a day. So I want to show the data in dashboard for the latest account which ran and also give the flexibility to user to change the date and time

---

<div class="post-metadata">

### Author: ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)
#### Post date: [November 14, 2023, 10:45pm UTC](https://discuss.elastic.co/t/how-to-set-kibana-timepicker-of-the-date-and-hour-in-the-data/347143/2 "2023-11-14T22:45:44Z")

</div>

To clarify, are you wanting to dynamically set the selected time range depending on which account (data view) is selected?

---

<div class="post-metadata">

### Author: ![Dilpreet](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@Dilpreet](https://discuss.elastic.co/u/Dilpreet)
#### Post date: [November 14, 2023, 11:26pm UTC](https://discuss.elastic.co/t/how-to-set-kibana-timepicker-of-the-date-and-hour-in-the-data/347143/3 "2023-11-14T23:26:42Z")

</div>

Thanks for the reply Lukas. My aim is when the dashboard loads the default time should be of the latest run data. Suppose account 1 runs at 2pm and account 2 runs at 2.30 pm. I want 2.30 pm that is data for account 2 on time picker.

---

<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: [December 12, 2023, 11:27pm UTC](https://discuss.elastic.co/t/how-to-set-kibana-timepicker-of-the-date-and-hour-in-the-data/347143/4 "2023-12-12T23:27:24Z")

</div>

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