Using the Assign action
- Updated: 2024/09/23
Using the Assign action
Use the Assign action to assign a String variable with a selected datetime format, assign a datetime value manually, or assign an existing Datetime variable into a Datetime variable.
Procedure
To assign values to a Datetime variable, perform the following steps:
- Double-click or drag the Assign action from the Datetime node in the Actions palette.
-
Select either the Enter the date time or
Variable option.
- If you selected the Enter the date time option,
perform the following steps:
- Enter the date time values or select a String variable.Note: To enter multiple variables, separate them with single quotation marks. For example, to input the variables date1 and time1, enter the following: 'date1"time1'
- Select the date time format.
Choose from the prebuilt formats or provide a custom format. For more information about the prebuilt formats, see Datetime formats.
- Enter the date time values or select a String variable.
- If you selected the Variable
option, choose either the Datetime option or the
Variable option.
- Use the Datetime option if you want to select the date, time, and timezone manually.
- Use the Variable option if you want to select the Datetime variable or other variables that can have Datetime as a subtype, such as the Dictionary, Record, and list variables.
- If you selected the Enter the date time option,
perform the following steps:
- Select the variable to use to store the output from the Destination Datetime variable list.
- Click Save.