#addHours
Returns an ISO 8601 date and time with the specified number of hours added.
#addHours(value, hours)Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
value |
path | string |
A date and time. |
hours |
number |
Hours to add; negative values subtract. |
Returns
Section titled “Returns”string
Examples
Section titled “Examples”Five hours later
Section titled “Five hours later”#addHours($.some.path, 5)