Skip to content

DurationValue.addToDate method

DurationValue › addToDate

Official

Modifies the provided DateValue by this duration.

Signature:

addToDate(value: DateValue, subtract?: boolean | undefined): DateValue

Parameters:

Parameter Type Description
value DateValue
subtract? boolean | undefined *(Optional)*

Returns: DateValue

Since: 1.10.0