# timeframe selection in new dashboards for -1d/d

**URL:** <https://community.dynatrace.com/t/timeframe-selection-in-new-dashboards-for-1d-d/42255>\
**Category:** Dashboarding\
**Tags:** dql, timeframe, dashboards, charts\
**Created:** [October 24, 2023, 5:49pm UTC](https://community.dynatrace.com/t/timeframe-selection-in-new-dashboards-for-1d-d/42255 "2023-10-24T17:49:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![calfano](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/calfano/32/35558_2.png) [@calfano](https://community.dynatrace.com/u/calfano)\
**Post date:** [October 24, 2023, 5:49pm UTC](https://community.dynatrace.com/t/timeframe-selection-in-new-dashboards-for-1d-d/42255/1 "2023-10-24T17:49:29Z")

</div>

in the previous dynatrace UI, the time selector we had the ability to look back at custom timeframes such as:  
-1d/d in which the /d would round down to the beginning of of the day for yesterday.

What is the equivalent of this in the new dynatrace platform when choosing a timeframe? -1d/d doesn’t seem to work.

old:

 ![calfano_2-1698165181383.png](https://global.discourse-cdn.com/dynatrace/original/2X/5/5a959f8e8697b0f35cacfe834919037dc2c7956a.png)

new:

 ![calfano_0-1698165139318.png](https://global.discourse-cdn.com/dynatrace/original/3X/6/6/66b066b39f2b7bb850cf59aea2b62720c2414cbf.png)

Thank you!

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [October 25, 2023, 10:07am UTC](https://community.dynatrace.com/t/timeframe-selection-in-new-dashboards-for-1d-d/42255/2 "2023-10-25T10:07:02Z")

</div>

Hi&nbsp;[@calfano](https://community.dynatrace.com/user/58627).,

It is a very good question. I have not found any solution yet. I thnik it is available only in Dashboard classic.

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [October 25, 2023, 10:34am UTC](https://community.dynatrace.com/t/timeframe-selection-in-new-dashboards-for-1d-d/42255/3 "2023-10-25T10:34:26Z")

</div>

Unfortunately, this is not possible at the moment like [@Mizső](https://community.dynatrace.com/user/47783) wrote. We can only apply such a time frame:

 ![Zrzut ekranu 2023-10-25 o 12.34.05.png](https://global.discourse-cdn.com/dynatrace/original/2X/6/6b2f954a7b93d3ca12736397194a924330542d73.png)

---

<div class="post-metadata">

**Author:** ![calfano](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/calfano/32/35558_2.png) [@calfano](https://community.dynatrace.com/u/calfano)\
**Post date:** [October 25, 2023, 12:33pm UTC](https://community.dynatrace.com/t/timeframe-selection-in-new-dashboards-for-1d-d/42255/4 "2023-10-25T12:33:40Z")

</div>

Thanks for the reply, I will submit feature request, it would be wonderful to get this in place:  
[https://community.dynatrace.com/t5/Product-ideas/timeframe-selection-in-new-dashboards-queries-for-1d-d/idi-p/226578](https://community.dynatrace.com/post/226578)

---

<div class="post-metadata">

**Author:** ![gbaudart](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@gbaudart](https://community.dynatrace.com/u/gbaudart)\
**Post date:** [November 8, 2023, 8:18pm UTC](https://community.dynatrace.com/t/timeframe-selection-in-new-dashboards-for-1d-d/42255/5 "2023-11-08T20:18:13Z")

</div>

For -1d/d, you may try this in your request :

```markup
fetch logs,from:toTimestamp("T00:00:00")-1d

```

For -0d/d, you may try this in your request :

```markup
fetch logs,from:toTimestamp("T00:00:00")

```

For

---

<div class="post-metadata">

**Author:** ![calfano](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/calfano/32/35558_2.png) [@calfano](https://community.dynatrace.com/u/calfano)\
**Post date:** [November 8, 2023, 8:19pm UTC](https://community.dynatrace.com/t/timeframe-selection-in-new-dashboards-for-1d-d/42255/6 "2023-11-08T20:19:38Z")

</div>

AWESOME workaround! Thank you!

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [November 9, 2023, 9:43am UTC](https://community.dynatrace.com/t/timeframe-selection-in-new-dashboards-for-1d-d/42255/7 "2023-11-09T09:43:26Z")

</div>

Good to know:) thank you!
