03-23-2021 12:24 PM
We have a script that reads in the hours of operation from the XML file shown below:
03-25-2021 08:17 AM
That is weird, don't know why that would happen. If you wanted to try something else to simply see if you can avoid the problem you could use date objects instead of time objects like this:
Set timeToCheck_date = D[now] //This is eastern time in my case Set todaysDate_str = D[now] //gets set to something like "2/8/2017" Set timeZone_tz = "America/Chicago" Set startTime_str = "4:00 PM" Set startTime_date = D[todaysDate_str + " " + startTime_str, timeZone_tz] If timeToCheck_date.after(startTime_date) True = timeToCheck occurs after the startTime False = timeToCheck occurs before the startTime
That code snippet is what I posted here:
https://supportforums.cisco.com/discussion/11982946/uccx-9-time-day-time-ranges
That thread contains a lot more good time info.
03-29-2021 08:36 AM
Thanks for the tip and the link to article with more detail on times and dates in UCCX. I'll certainly give it a try and see what happens when the DST ends.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide