The timeframe selector lets you filter and analyze data by timeframes. You can use custom time values or presets.
Presets are common, useful timeframe selections, such as Last 2 hours or Today.
Custom timeframes consist of from and to values. To define a custom timeframe, enter the from and to values in the input fields and select Apply.
From and to can be either absolute time or relative time.
Use the calendar to select one or more days. When you select inside the timeframe field, you can use the up ↑ and down ↓ arrow keys on your keyboard to increase and decrease the highlighted numbers.
The date and time format follows your Dynatrace user settings. The time precision depends on the data context and the app. Common time precisions are hh:mm (hour:minute) and hh:mm:ss (hour:minute:second).
Relative time is always calculated relative to now. It follows the format -[number][unit] for past dates, and +[number][unit] for future dates.
Supported units are s (seconds), m (minutes), h (hours), d (days), w (weeks), M (months), q (quarters), y (years).
The timeframe selector doesn't support combinations of different units (for example, -1d3h30m) or calculations with brackets (for example, (now-1d)@d).
| Example | Description |
|---|---|
| Exactly 2 hours ago |
| Exactly 7 days ago |
| Exactly 1 week ago |
The timeframe selector automatically simplifies the time format. For example, instead of writing now-5m, write -5m. The selector removes the now prefix.
Rounded time expressions let you filter timeframes such as "today" (@d), "yesterday" (-1d@d), or "last week" (-1w@w). For example, @d to now filters for everything between 00:00:00 this morning and now.
The simplest form of rounded time is @[unit]. More complex variations are possible too. For example, you can combine rounded time with time offsets, such as -[number][unit]@[unit] and +[number][unit]@[unit].
As with relative time, rounded time is relative to now and follows your Dynatrace user settings.
| Example | Description |
|---|---|
| Beginning of today |
| Beginning of the month before last month |
| Beginning of this year |
The timeframe selector adapts to your Dynatrace user settings. These settings control the time zone and the regional date/time format.
The Time zone settings in the Dynatrace user settings control the time zone in the timeframe selector.
The Region settings in the Dynatrace user settings control the date and time format in the timeframe selector.
For example, English - United States renders dates and times as MM/DD/YYYY with a 12-hour clock, and German - Germany renders them as DD.MM.YYYY with a 24-hour clock.