[cisco-voip] UCCX If conditional statement
Ben Story
ben.story at gmail.com
Fri Jun 6 11:56:02 EDT 2014
I believe...
((Today is not Sunday or Saturday) AND (The time is between 7:00 and 18:00
)) OR (Today is Saturday AND the time is between 8:00 and 12:00) would be
the "english" translation
--
Ben Story
CCSP, CCNA, CCNA Wireless, CCDA
ben.story at gmail.com
@ntwrk80
http://showbrain.blogspot.com
http://rand0mw0rds.blogspot.com
"From sour-faced saints and silly devotions, good Lord, preserve us!". -- St.
Teresa of Avila
On Fri, Jun 6, 2014 at 10:08 AM, Matthew Collins <mcollins at block.co.uk>
wrote:
> 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
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140606/4e9b18d9/attachment.html>
More information about the cisco-voip
mailing list