[cisco-voip] UCCX If conditional statement

Matthew Collins mcollins at block.co.uk
Fri Jun 6 11:08:53 EDT 2014


Hi All,

I'm working on a UCCX scrip at the moment and have come across an If conditional statement and I just can't get my head around it. Think it's just a time check and could replace with a time of day check but would like to understand it before I change anything.

Anyone out there able to help me get my head around it?

((D[now].dow != 1 && D[now].dow != 7) && (T[now].getHours() > 7 && T[now].getHours() < 18)) || (D[now].dow == 7 && (T[now].getHours() > 8 && T[now].getHours() < 12))


Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140606/3ee0f231/attachment.html>


More information about the cisco-voip mailing list