Application Usage Report Exceeds the Defined Date Range
Last Updated:
Overview
This article explains why the Application Usage Report may return entries that appear to be outside the selected date range.
- For example, a report generated for May 1 to May 31 might include an entry from April 30.
Applies To
- Reports
Cause
The discrepancy occurs due to a difference in time zones. The API query for the report uses the user's local timezone (for example, UTC+2), while the event timestamps within the report are recorded in Coordinated Universal Time (UTC), also known as Zulu time. An event recorded late in the day in UTC (for example, 2025-04-30T22:23:21Z) may fall within the start of the next day when converted to the local timezone of the query (for example, 2025-05-01T00:23:21+02:00), causing it to be correctly included in the report.
Solution
This is functioning as designed. To confirm this behavior, analyze the API request and the timestamps involved.
- Retrieve the API request generated by the report.
- Decode the URL to view the filter parameters. A decoder tool can be used for this step. The raw URL may appear similar to this:
/api/v1/analytics/reports/application-usage/exports?filter=eventTimestamp+ge+%222025-05-01T00%3A00%3A00%2B02%3A00%22+and+eventTimestamp+lt+%222025-06-01T00%3A00%3A00%2B02%3A00%22+and+appInstanceId+eq+%22<appInstanceId>%22 - The decoded URL shows the exact timestamp filters, including the timezone offset:
/api/v1/analytics/reports/application-usage/exports?filter=eventTimestamp ge "2025-05-01T00:00:00+02:00" and eventTimestamp lt "2025-06-01T00:00:00+02:00" and appInstanceId eq "<appInstanceId>" - Note the timezone supplied to the filter (for example,
+02:00). - Compare this with the timestamp of an entry that appears to be outside the range (for example,
2025-04-30T22:23:21Z). TheZindicates the time is in Zulu (UTC). - Convert the Zulu timestamp to the filter's timezone to confirm it falls within the requested range. A time zone converter can assist with this conversion.
- In this example,
2025-04-30T22:23:21Zis equivalent to2025-05-01T00:23:21in a+02:00timezone.
- In this example,
