Legacy Dev Forum Posts

 View Only

Sign Up

What is the actual time range for date span Today in dashboard?

  • 1.  What is the actual time range for date span Today in dashboard?

    Posted 06-05-2025 19:06

    markmou | 2020-11-25 02:28:51 UTC | #1

    Hi,

    I am using the notification service to subscribing metric data from the topic "v2.analytics.queues.{queue_id}.observations" to build a dashboard in our internal system for a different purpose.

    The metric data has two different time intervals. A, like oWaiting, it seems a value that updated at a specific time point, B, like tWait, tAnswered, tHandle, nOffered, they are calculated in a 30mins interval.

    I was wandering the equivalent time frame for date span Today in the dashboard in purecloud. Is it timezone specific or based on UTC, or is it fixed to now-24h?

    Thanks in advance, Mark


    anon28885283 | 2020-11-25 04:10:42 UTC | #2

    Hi Mark,

    Date intervals in the API are always written in UTC timezone. When you select 'Today' in the UI it considers the full day you're currently in on the local timezone(12AM to 12AM next day) but the API called uses an interval adjusted to UTC.


    markmou | 2020-11-25 05:23:34 UTC | #3

    Thanks PrinceMerluza for the quick response.

    So the actual time range is based on the client timezone of the user who is watching the dashboard. If I am in PST (UTC-08:00) and assuming today is 11/24/2020. The date span of 'Today' for me is from 11/24/2020 12:00:00AM(PST) to 11/25/2020 12:00:00AM(PST),

    Am I right?

    Best Regards Mark


    anon28885283 | 2020-11-26 04:52:03 UTC | #4

    Hi Mark,

    Yes that's correct


    system | 2020-12-26 04:52:03 UTC | #5

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 9378