DateTime
Update DateTime
7min
This action allows you to update a specific subdivision of a DateTime.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/yzNxZ7Na9EheRYOMkTzn-_tdy.png?format=webp)
- [ I ] Date: DateTime to be updated.
- [ I ] Unit of time: Drop-down to choose which subdivision of the Date is to be updated.
- Year
- Month
- Day
- Hours
- Minutes
- Seconds
- [ I ] Change amount: Integer representing the change to be applied to the Unit Of Time.
- [ O ] Updated date: DateTime after update.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/uYDuU4Hh8BnZjMw6yTJ5U_tdy.png?format=webp)
- Drag action onto canvas to get familiarized with it.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/p76UHSXDtY9XA4Hja-rKZ_tdy.png?format=webp)
- Declare some variables to be used with the action.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/jrLppXM5OcXYgyX13QwGt_tdy.png?format=webp)
- Assign the newly created variables.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/JtZrcMZFIW2WSYJlbk4CM_tdy.png?format=webp)
- Save & Run the process and then Check Instance to see the output.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/KLINB-ioB_ThtPk8zn_gi_tdy.png?format=webp)
- Updating a specific subdivision from a DateTime.
- Subtracting is also possible by using - before the value inside Change amount.
Updated 31 Aug 2023
![Doc contributor](https://s3.amazonaws.com/archbee-animals/koala.png)
Did this page help you?