Any ideas how to do a time comparison in agent scripts.
What I want to do is provide some different script components for the after hour team, specifically for callbacks. So I want just the time value of {{Scripter.Agent Call Start Time}} and compare that against the after hours time, eg a bool of ifElse({{Scripter.Agent Call Start Time}} > 20:00, true, false)
And then set the component visibility to that bool variable.
Since Scripts only have string, number and boolean data types, i'm struggling to figure out how to do this cleanly, or if its even possible. And since its callbacks (specifically callbacks that started before the after hours shift), the script is already set, so i can't just set a different script in architect if after hours,
Any ideas to help me along would be appreciated.