Skip to content
1 min read · 44 words

Variable: dateAddTool

ts
const dateAddTool: Tool<SpooledArtifact>;

Add or subtract a duration from a date/time.

Remarks

All duration components (years/months/weeks/days/hours/minutes/seconds) are optional and combined into a single Duration. Output formatting includes a time component when the input itself has one or when any sub-day component is non-zero.