ā08-26-2015 02:35 AM - edited ā03-14-2019 03:09 PM
Dear sir,
I use TZ[America/Los_Angeles] to get time zone for the step "Time of Day". I am not sure if TZ parameter will get time zone automatically when day light saving period or normal period.
Thanks. Matthew
Solved! Go to Solution.
ā08-30-2015 02:48 PM
The TZ[] is a lot smarter than it looks at first glance. It's leveraging the underpinning Java java.utils.TimeZone class and the Time of Day (or Day of Week, including accounting for the International Date Line) step will behave as if the server were actually in US PST, including DST support.
ā08-31-2015 05:54 AM
Thank you Jonathan for this great info, +5.
ā08-26-2015 06:21 AM
It will, it simply uses the server time and then converts to appropriate time zone as defined in script, etc.
ā08-27-2015 03:18 AM
Hi Chris,
Our UCCX server is in Hong Kong, and use script TZ[America/Los_Angeles] may get *correct* time for day light savings period or normal period in America.
Thanks Matthew
ā08-27-2015 06:02 AM
That is a very good question and never though about it this way, honestly I don't know the answer, my first instinct tells me it would not work properly as the TZ is simply an hourly off-set, but I might be wrong.
ā08-30-2015 02:48 PM
The TZ[] is a lot smarter than it looks at first glance. It's leveraging the underpinning Java java.utils.TimeZone class and the Time of Day (or Day of Week, including accounting for the International Date Line) step will behave as if the server were actually in US PST, including DST support.
ā08-31-2015 05:54 AM
Thank you Jonathan for this great info, +5.
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