Modify period of DateTime block
This information concerns a series of blocks, that can manipulate DateTime objects. These blocks allow to modification of a DateTime object. Possible manipulations:
- Add Period to DateTime
- Subtract Period to DateTime
Note: Using Luxon functions for all math operations.
The DateTime object, you wish to manipulate. Does not trigger any output when set. Is forgotten after execution. The default value is the time right now.
Takes a number. Describes the size of the operation without units. E.g. 5 hours/minutes/seconds etc.
Set the unit of the value provided. Select between seconds, minutes, hours, weeks, and years.
The new DateTime object after manipulation.
graph LR A(['20/4 1995 14:35']) --Date--> I(Add Period to DateTime) B() --Value--> I C([years]) --Type--> I I --Date--> D(['20/4 2000 14:35'])
- Days are not available. Use sets of 24 hours.