Hmm, you certainly have a unique scenario here. The server does not observe DST, but the clients, and site it supports do.<div><br></div><div>I'm sure there are many ways to solve this problem, including the method you currently employ, but I'd like to offer up one that I would try. Keep in mind, I have never had to solve this problem before, so this is theory only. Also, UCCX 8x now supports Timezone in several of the Time/Date steps, so perhaps this will not be an issue for you much longer.</div>
<div><br></div><div>I would create a subflow script that holds the current DST rule, compares the current local date/time against that rule, and returns an a boolean to the calling script.</div><div><br></div><div>In the calling script, I would apply the offset to the date/time variables based on the boolean value, and move on from there.</div>
<div><br></div><div>Here's a little subflow written in 7x, to get you started in the right direction <a href="http://dl.dropbox.com/u/15705/Outbox/testing-dst.aef">http://dl.dropbox.com/u/15705/Outbox/testing-dst.aef</a></div>
<div><br></div><div>Anthony</div><div><br><div class="gmail_quote">On Thu, Mar 3, 2011 at 5:59 PM, ciscozest <span dir="ltr"><<a href="mailto:ciscozest@gmail.com" target="_blank">ciscozest@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>I am using CCX 7.x. The server is in non DST location but the CAD / agents are in other DST time zone. So far I am using a manual way to adjust the DST activation from scripting but this is so inconvenient.</div>
<div>I heard someone mention about using Java application for this DST challenge in scripting but I have no detail about it. </div>
<div>Ideally I want the script be able to check the today's date and compare with the script's time RANGEbefore going to the different business hours section.</div>
<div>Would appreciate for any input on this and assistance with doco/samples. Thanks</div>
<br>_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
<br></blockquote></div><br></div>