# TIPS - DQL Timeframe selection

**URL:** <https://community.dynatrace.com/t/tips-dql-timeframe-selection/42655>\
**Category:** Dynatrace Tips\
**Tags:** dql, timeframe, tips-and-tricks\
**Created:** [November 16, 2023, 1:21pm UTC](https://community.dynatrace.com/t/tips-dql-timeframe-selection/42655 "2023-11-16T13:21:42Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Peter\_Jelitsch1](https://avatars.discourse-cdn.com/v4/letter/p/b5e925/32.png) [@Peter\_Jelitsch1](https://community.dynatrace.com/u/Peter_Jelitsch1)\
**Post date:** [April 16, 2025, 10:08am UTC](https://community.dynatrace.com/t/tips-dql-timeframe-selection/42655/8 "2025-04-16T10:08:03Z")

</div>

Thanks, very helpful! A small **additional** hint when interested in **UTC**. Add the **“Z”** to your timestamp format. Example:

```markup
fetch events, from:toTimestamp("T00:00:00Z")-1d, to: toTimestamp("T00:00:00Z")
| summarize by: {}, sum=count()

```

gives use the count of events for yesterday, measured in UTC.

Edit: “T00:00:00Z” appears to be just a shortcut for “T00:00:00+0”

Cheers, PJ.

---

_[View the full topic](https://community.dynatrace.com/t/tips-dql-timeframe-selection/42655)._
