Change Time Zone Version 7 (Python)

Action group: Dates convertion


Description

This action is used to change the set date in accordance with the selected time zone

Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
DateDate to be modifiedRobin.DateTime
Yes
Time zoneTime zone according to which the specified date and time must be converted.Robin.String
Yes
Results
ResultA variable of the «DateTime» type that will contain the result of changing the date taking into account the time zoneRobin.DateTime

Special conditions of use

None.

Example of use

Task

Change the time zone of the date 22/11/2022 00:00:00 +05:00 to UTC+04:00.

Solution

Use the "Change Time Zone" action.

Implementation

  1. Move the action to the workspace.

  2. Set the "Change Time Zone" action parameters.
  3. Click "Start" in the top panel.

Result

The program robot completed successfully. The new date is obtained.

  • Нет меток