# Is it possible to get the selected timeframe in the new dashboard from the code tail?

**URL:** <https://community.dynatrace.com/t/is-it-possible-to-get-the-selected-timeframe-in-the-new-dashboard-from-the-code-tail/42009>\
**Category:** Dashboarding\
**Tags:** latest-dynatrace, dashboards, charts\
**Created:** [October 10, 2023, 12:18pm UTC](https://community.dynatrace.com/t/is-it-possible-to-get-the-selected-timeframe-in-the-new-dashboard-from-the-code-tail/42009 "2023-10-10T12:18:37Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ZackE](https://avatars.discourse-cdn.com/v4/letter/z/9fc29f/32.png) [@ZackE](https://community.dynatrace.com/u/ZackE)\
**Post date:** [August 15, 2025, 5:10pm UTC](https://community.dynatrace.com/t/is-it-possible-to-get-the-selected-timeframe-in-the-new-dashboard-from-the-code-tail/42009/4 "2025-08-15T17:10:35Z")

</div>

Hi Andrea,

What was the solution for this? I’m interested in using JS code to get the timeframe from the selector in gen 3 dashboards.

---

_[View the full topic](https://community.dynatrace.com/t/is-it-possible-to-get-the-selected-timeframe-in-the-new-dashboard-from-the-code-tail/42009)._
