# Is it possible to remove or hide the time options from the date picker?

**URL:** <https://community.grafana.com/t/is-it-possible-to-remove-or-hide-the-time-options-from-the-date-picker/124254>\
**Category:** Configuration\
**Created:** [June 18, 2024, 4:32pm UTC](https://community.grafana.com/t/is-it-possible-to-remove-or-hide-the-time-options-from-the-date-picker/124254 "2024-06-18T16:32:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ebabeshko](https://avatars.discourse-cdn.com/v4/letter/e/9d8465/32.png) [@ebabeshko](https://community.grafana.com/u/ebabeshko)\
**Post date:** [June 18, 2024, 4:50pm UTC](https://community.grafana.com/t/is-it-possible-to-remove-or-hide-the-time-options-from-the-date-picker/124254/2 "2024-06-18T16:50:33Z")

</div>

It is possible to modify XXXX.yyyyyyyyyyyyyyyyyyyy.js file in public/build folder that contains this list (for example, 4570.87a4acc6d9144f9ee50a.js for Grafana 11.0.0).

Search for the following text and remove periods that you don’t need.

```auto
const t=[{from:"now-5m",to:"now",display:"Last 5 minutes"},{from:"now-15m",to:"now",display:"Last 15 minutes"},{from:"now-30m",to:"now",display:"Last 30 minutes"},{from:"now-1h",to:"now",display:"Last 1 hour"},{from:"now-3h",to:"now",display:"Last 3 hours"},{from:"now-6h",to:"now",display:"Last 6 hours"},{from:"now-12h",to:"now",display:"Last 12 hours"},{from:"now-24h",to:"now",display:"Last 24 hours"},{from:"now-2d",to:"now",display:"Last 2 days"}...

```

Or modify [source code](https://github.com/grafana/grafana/blob/main/packages/grafana-ui/src/components/DateTimePickers/options.ts) and compile custom Grafana version

> [@Customisation of the Absolute time range in Grafana](https://community.grafana.com/t/customisation-of-the-absolute-time-range-in-grafana/111881/2):
>
> That’s not configurable. But you can modify source: and build own customized Grafana version.

---

_[View the full topic](https://community.grafana.com/t/is-it-possible-to-remove-or-hide-the-time-options-from-the-date-picker/124254)._
