Applies the given relative offset (defined by num and period) to the optionally given base date (default: now). If num < 0 the result date will be in the past (relative to base).
num
period
base
num < 0
Generated using TypeDoc
Applies the given relative offset (defined by
num
andperiod
) to the optionally givenbase
date (default: now). Ifnum < 0
the result date will be in the past (relative tobase
).