- 01 Mar 2024
- 1 Minute to read
- Print
- DarkLight
Setting Up Date/Time Translation
- Updated on 01 Mar 2024
- 1 Minute to read
- Print
- DarkLight
Overview
Time Zone Translation is a feature that allows users to view all DateTime values in their local time zones instead of the server's hosted time zone. For instance, if a user is accessing an application from India while the server is located in the US, without Time Zone Translation enabled, the user would see all timestamps in US time. However, if time zone translation is enabled, the US date and time will be converted to India time, allowing the user to view the dates relative to their location.
Time Zone Translation is Account specific. Admin users must set the time zone on individual accounts to translate the time. If Time Zone is not configured on accounts, Decisions will set the default time zone from Portal Settings to all the user accounts.
Time Zone Translation Limitations
Scheduled Jobs/Assigned Flows will run according to the server's Date Time value, not the translated time on the UI.
Time zone Translation can not translate the
DecisionsFramework.Data.DataTypes
Data Type.Timezone Translation will only translate the values on UI elements like Dashboards, Reports, and Forms. It will not translate the values during design time on Flows and Rules.
Times in the Debugger are not translated.
Change the Host Server to UTC Time zone
Time Zone translation requires the Decisions Server to be placed in the UTC time zone. If the Host Server is not set to UTC, the Decisions Service will fail to start, and the user will not be able to access the environment. Before enabling Time Zone Translation, ensure the time zone of the Host Server is set to UTC. Otherwise, do NOT proceed with enabling Time Zone Translation.
Configuration
The following section explains how to enable Time Zone Translation on the server and activate it for an account.
Enable TimeZone Translation on the Server
From the File Storage, navigate to C:\Program Files\Decisions\Decisions Server Folder and open the Settings.xml in a Text Editor.
Locate the UseTimeZoneTranslation property and set it to true. Save and close the Text Editor.
Restart the Service.
Configuring the Accounts
From the Decisions Studio, navigate to System > Security > Accounts. Right-click the Account and select Edit.
Under PERSONAL INFORMATION, scroll down to Timezone and select the desired option.
Click SAVE to close out of the window.
Thus, users can now see the configured time zone in the portal.
Feature Changes
Description | Version | Developer Task |
---|---|---|
The Time Zone Translation feature now supports Date Time Fields on the Forms. | [DT-039253] |