# Is there any way to add custom date like financial year (01 April to 31 March) in Time filter quick ranges in Kibana 8.5

**URL:** <https://discuss.elastic.co/t/is-there-any-way-to-add-custom-date-like-financial-year-01-april-to-31-march-in-time-filter-quick-ranges-in-kibana-8-5/321977>\
**Category:** Kibana\
**Created:** [December 26, 2022, 9:04am UTC](https://discuss.elastic.co/t/is-there-any-way-to-add-custom-date-like-financial-year-01-april-to-31-march-in-time-filter-quick-ranges-in-kibana-8-5/321977 "2022-12-26T09:04:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ysattvik](https://avatars.discourse-cdn.com/v4/letter/y/3da27b/32.png) [@ysattvik](https://discuss.elastic.co/u/ysattvik)\
**Post date:** [December 26, 2022, 9:04am UTC](https://discuss.elastic.co/t/is-there-any-way-to-add-custom-date-like-financial-year-01-april-to-31-march-in-time-filter-quick-ranges-in-kibana-8-5/321977/1 "2022-12-26T09:04:02Z")

</div>

{  
"from": "now-1y/d",  
"to": "now",  
"display": "Last 1 year"  
}

Here, can we add a date range like (01 April to 31 March) as Financial Year?

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [December 26, 2022, 2:05pm UTC](https://discuss.elastic.co/t/is-there-any-way-to-add-custom-date-like-financial-year-01-april-to-31-march-in-time-filter-quick-ranges-in-kibana-8-5/321977/2 "2022-12-26T14:05:37Z")

</div>

Yes, you can do that on your Kibana installation:  
You need to change the value of the `timepicker:quickRanges ` setting in the Advanced settings. [Advanced Settings | Kibana Guide [8.5] | Elastic](https://www.elastic.co/guide/en/kibana/current/advanced-options.html)

---

<div class="post-metadata">

**Author:** ![ysattvik](https://avatars.discourse-cdn.com/v4/letter/y/3da27b/32.png) [@ysattvik](https://discuss.elastic.co/u/ysattvik)\
**Post date:** [December 26, 2022, 3:08pm UTC](https://discuss.elastic.co/t/is-there-any-way-to-add-custom-date-like-financial-year-01-april-to-31-march-in-time-filter-quick-ranges-in-kibana-8-5/321977/3 "2022-12-26T15:08:30Z")

</div>

Hi Marius\_Dragomir

thanks for your reply.  
May you please add any time range for example purpose in timepicker:quickRanges .  
actually, I have tried to add a financial year from 01 April - 31 March but not able to do that. I don't recognize the proper format for date in this section. I want to show one financial year data on Dashboard whenever I select this section. I have tried like

{  
"from": "now-1April/d",  
"to": "31March",  
"display": "Financial Year"  
}

Please suggest me the proper format for date.

---

<div class="post-metadata">

**Author:** ![ysattvik](https://avatars.discourse-cdn.com/v4/letter/y/3da27b/32.png) [@ysattvik](https://discuss.elastic.co/u/ysattvik)\
**Post date:** [December 28, 2022, 4:13am UTC](https://discuss.elastic.co/t/is-there-any-way-to-add-custom-date-like-financial-year-01-april-to-31-march-in-time-filter-quick-ranges-in-kibana-8-5/321977/4 "2022-12-28T04:13:56Z")

</div>

Hi Marius\_Dragomir,

thanks for your reply, Now I am able to add custom date inside date picker using timepicker:quickRanges . But still have some queries please reply to me. I will be very thankful to you.

1. In the given image if we want **only absolute date** not relative, now section and time section. Then is it possible to do. If possible, then please suggest the way.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/2/92806a7217dffff2824644f93baa3658571639af.png)

2. My second requirement is that in the below image I need only commonly used section and rest we want to remove from here. can we do this? If yes, then how can I do that please suggest the way.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/7/a7459bb7a874bb433e3fc662bfd330a72923206f.png)

Please reply for my both queries, it will be very helpful for me, and I am waiting for your reply.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [December 28, 2022, 1:37pm UTC](https://discuss.elastic.co/t/is-there-any-way-to-add-custom-date-like-financial-year-01-april-to-31-march-in-time-filter-quick-ranges-in-kibana-8-5/321977/5 "2022-12-28T13:37:34Z")

</div>

> [@ysattvik](#):
>
> In the given image if we want **only absolute date** not relative, now section and time section.

You can not remove the `Relative` and `Now` tabs.

> [@ysattvik](#):
>
> My second requirement is that in the below image I need only commonly used section and rest we want to remove from here. can we do this?

You can also not remove the `Recently used date ranges`, this will show all the recent date filters people used.

---

<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:** [January 25, 2023, 1:38pm UTC](https://discuss.elastic.co/t/is-there-any-way-to-add-custom-date-like-financial-year-01-april-to-31-march-in-time-filter-quick-ranges-in-kibana-8-5/321977/6 "2023-01-25T13:38:07Z")

</div>

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