Discussion
5
Replies
5897
Views
Virtusa
Posted: March 9, 2015
Last activity: November 29, 2016
Closed
Timezone and Locale for Agents
We have an agent where few date conversions will occur as part of agent processing.
My server's timezone is EST and the date conversion should happen w.r.t Europe/London timezone.
How can we achieve this?
Can we set the locale using the PublicAPI method(setLocale()) at the start of agent processing?
Also please let me know if there are any alternative ways to do it.
Hi Bharat,
Could you please evaluate this option, by calling a custom activity containing setLoacaleName() function in the first step of the activity used in the Agent.
Changing locale permanently
To change these settings permanently on your Windows workstation, use the Windows Start menu item Settings> Control Panel >Regional Options >General to set the workstation locale. Similarly, use the Windows DateTime control panel to review or set time zones.
Changing locale programmatically
An activity can change a user locale temporarily by calling the PublicAPI function setLocaleName(). For example, a multilingual worker might switch between English and Spanish rapidly, to match the speech of an incoming caller, by clicking a button on the Process Work workspace.
This lets your application implement a user selection of locale (as application users do not ordinarily have access to the Locale Settings tool).