clsUTCToUserTimeZone Step

Use this step to convert UTC datetime to User's time zone.

Last published at: January 14th, 2026

Description:

This step converts the UTC date and time to the user's time zone.

 

Inputs

  • user - Provide User Id
  • utcVarGlobals - Select UTC date/time and variables/globals
 

 

Returns

  • True – step executed successfully 
  • False – step failed to execute
 

 

 

Usage:

 

 

Example:

Let’s build and execute the “clsUTCToUserTimeZoneDef” example.

  • Create a new process definition named “clsUTCToUserTimeZoneDef” and open it in designer mode. 
  • Drag the “clsUTCToUserTimeZone” step to the canvas
  • Connect the “Start” and “clsUTCToUserTimeZone” steps, as shown above. 
  • Define a variable or a global to store the result.
  • Click the “clsUTCToUserTimeZone” step to configure its “Required” properties. Provide a step name. Click the button to enter a single User ID. Click the button to enter multiple variable or global UTC date-time values. Click the Save button. Note: Click the "AI Predict" button for the Copilot to add new process steps that match your process description. 
     

 

  • Click the button to enter a single User ID. A pop-up window appears for configuration. Search for the user by the first three letters of the name. Use the navigation keys to “Select or Unselect” items in the list on the right. You may also use a variable reference with a User's GUID ID value. Click the Save button.

 

  • For example, the selected User has the EEST time zone. Navigate to the Administration > User Management page and search for the user. Double-click the row to view the information below.  

 

  • Click the button to enter a UTC date and time. A pop-up window appears for configuration. Please enter the UTC date and time in the following format. This date and time value is converted to the user's time zone and stored in the variable or global reference. 

 

  • The “Logging” configuration is necessary for documentation and also measures workflow progress and percent complete. This is achieved by configuring the step state and percent fields individually, as shown below. Configure the “Logging” using the following properties.

 

  • Save the process definition, create a new instance, and execute it. Render the process instance. Click the process step to view its properties. The step should convert the UTC date-time value to the User's time zone. In the example, the UTC date-time value “2024-06-11T17:05:00” is converted to “2024-06-11T20:05:00” in the EEST time zone. 

 

 

Definition Sample:

You may download the sample definition(s) from the link provided and later import them (drag-and-drop) into your FlowWright Process Definition (XML file) or Form Definition (HTML file) page. 

Note: Please verify and complete the process steps for any missing configurations, such as file path references and database connections, after the import. Then, save the definition to confirm the changes. 

Click here to download the sample file.