Add time to date
Use the Add time to date action A tool for building the processes, logic, and direction within workflows. Actions are the steps the workflow performs to complete a process. to add an amount of time to a DateTime value and output the value in ISO 8601 format as a DateTime or Text value.
For example, users enter a DateTime value into a Nintex form field for a subscription start date. You want to send a subscription renewal reminder 10 months after the subscription start date.
You configure the Add time to date action to add 10 months to the DateDate value entered in the form. The action changes a DateTime value of December 19, 2018 10:58 AM to a DateTime value of 2019-10-18T23:58:00Z (UTC+00:00). The new DateTime value is stored as a variable which you use in later in the workflow.
Configure the Add time to date action
-
Add the action to the workflow and open the action configuration panel. For more information, see Add an action to the workflow.
- Select the Date you want to add time to.
- Type values in the time unit fields for the time you want to add to the Date value.
- Months
- Days
- Hours
- Minutes
- Select a variable for Output as date.
Add time to date action fields and settings
Field |
Description |
Variable |
---|---|---|
Date |
The DateTime value which the action changes to a Text string value. |
DateTime |
Months |
The number of months to add to the Date. |
Integer |
Days | The number of days to add to the Date. | Integer |
Hours | The number of hours to add to the Date. | Integer |
Minutes | The number of minutes to add to the Date. | Integer |
Output as date |
The DateTime variable to store the DateTime value with added time in ISO 8601 format. |
DateTime |
Output as ISO 8601 string |
The Text variable to store the DateTime value with added time in ISO 8601 format. |
Text |