Setting Up Date/Time Translation
  • 01 Mar 2024
  • 1 Minute to read
  • Dark
    Light

Setting Up Date/Time Translation

  • Dark
    Light

Article summary

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

  1. From the File Storage, navigate to C:\Program Files\Decisions\Decisions Server Folder and open the Settings.xml  in a Text Editor.

  2. Locate the UseTimeZoneTranslation property and set it to true. Save and close the Text Editor.

  3. Restart the Service.

Configuring the Accounts

  1. From the Decisions Studio, navigate to System > Security >  Accounts. Right-click the Account and select Edit.

  2. Under PERSONAL INFORMATION, scroll down to Timezone and select the desired option.

  3. 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.

8.18

[DT-039253]


For further information on the Portal, visit the Decisions Forum.


Was this article helpful?

What's Next