# Determine Start Time in DQL Queries for Accurate Analysis

**URL:** <https://community.dynatrace.com/t/determine-start-time-in-dql-queries-for-accurate-analysis/52987>\
**Category:** DQL\
**Tags:** dql\
**Created:** [August 17, 2025, 2:42pm UTC](https://community.dynatrace.com/t/determine-start-time-in-dql-queries-for-accurate-analysis/52987 "2025-08-17T14:42:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![deni](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/deni/32/163_2.png) [@deni](https://community.dynatrace.com/u/deni)\
**Post date:** [August 17, 2025, 2:42pm UTC](https://community.dynatrace.com/t/determine-start-time-in-dql-queries-for-accurate-analysis/52987/1 "2025-08-17T14:42:15Z")

</div>

Hi,

I have the following two queries and wondering what is the difference:

```markup
fetch spans
| makeTimeseries sum(duration)

```

```markup
fetch spans
| makeTimeseries sum(duration), time:start_time

```

I tried both in Playground, but I can’t see any difference. I also thought about using a join command to compare the responses, but I don’t see which column I could use for the join. According to the documentation:

```markup
time	

expression

The expression that provides the timestamp for a record, which will be assigned to a series bucket. If the current data does not contain a field timestamp the parameter needs to be specified, referencing the time field. The default value is timestamp. If the timestamp field doesn't exist, the second default value is start_time.

```

e.g. the parameter needs to be specified if there is no column timestamp.

In the case of the spans, I don’t see timestamp column, but it seem that the query still works without specifying time:start\_time.

This questions comes from the DQL course in the university, this is the exact task:

```markup
Evaluating Data over time

The operations team is starting to suspect some of these are being caused by long request times. Modify the below query to display maximum duration of spans over time.

HINT: use the time:start_time argument to set which timestamp is used for the timeseries.

```

The query from which we have to start is:

```markup
fetch spans

```

Thanks!

Regards, Deni

---

<div class="post-metadata">

**Author:** ![krzysztof\_hoja](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/krzysztof_hoja/32/34625_2.png) [@krzysztof\_hoja](https://community.dynatrace.com/u/krzysztof_hoja)\
**Post date:** [August 17, 2025, 6:18pm UTC](https://community.dynatrace.com/t/determine-start-time-in-dql-queries-for-accurate-analysis/52987/2 "2025-08-17T18:18:08Z")

</div>

It looks like documentation unclear. IMHO it should sound like :

```markup
If the current data does not contain a field timestamp or field start_time the parameter needs to be specified

```

now it is explained in additional sentence:

```auto
If the timestamp field doesn't exist, the second default value is start_time.

```

---

<div class="post-metadata">

**Author:** ![deni](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/deni/32/163_2.png) [@deni](https://community.dynatrace.com/u/deni)\
**Post date:** [August 17, 2025, 6:43pm UTC](https://community.dynatrace.com/t/determine-start-time-in-dql-queries-for-accurate-analysis/52987/3 "2025-08-17T18:43:31Z")

</div>

I suppose this means the HINT is also not correct? For example, as I suspected, the result is the same with or without time:start\_time (since when timestamp is missing, the default becomes start\_time).

I assume this parameter is only useful in cases where both timestamp and start\_time exist. Do you maybe have an example of such a case?

---

<div class="post-metadata">

**Author:** ![izabelarokita](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/izabelarokita/32/41812_2.png) [@izabelarokita](https://community.dynatrace.com/u/izabelarokita)\
**Post date:** [December 17, 2025, 1:21pm UTC](https://community.dynatrace.com/t/determine-start-time-in-dql-queries-for-accurate-analysis/52987/4 "2025-12-17T13:21:02Z")

</div>

Hey&nbsp;[@deni](https://community.dynatrace.com/user/90225)&nbsp;,  
I just wanted to check in and see if you still need help with this. If so, I’d be happy to look into it for you!&nbsp;:blush:  
Please let me know what works best for you.

---

<div class="post-metadata">

**Author:** ![deni](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/deni/32/163_2.png) [@deni](https://community.dynatrace.com/u/deni)\
**Post date:** [December 30, 2025, 10:46am UTC](https://community.dynatrace.com/t/determine-start-time-in-dql-queries-for-accurate-analysis/52987/5 "2025-12-30T10:46:01Z")

</div>

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

My last question is still opened …
