Type: lib.date.AddTimeDelta
Namespace: lib.date
Description
Add or subtract time from a datetime. datetime, add, subtract
Use cases:
- Calculate future/past dates
- Generate date ranges
Properties
| Property | Type | Description | Default |
|---|---|---|---|
| input_datetime | datetime |
Starting datetime | {'type': 'datetime', 'year': 0, 'month': 0, 'day': 0, 'hour': 0, 'minute': 0, 'second': 0, 'microsecond': 0, 'tzinfo': 'UTC', 'utc_offset': 0} |
| days | int |
Number of days to add (negative to subtract) | 0 |
| hours | int |
Number of hours to add (negative to subtract) | 0 |
| minutes | int |
Number of minutes to add (negative to subtract) | 0 |
Outputs
| Output | Type | Description |
|---|---|---|
| output | datetime |
Metadata
Related Nodes
Browse other nodes in the lib.date namespace.