Hex Core JS
    Preparing search index...

    Function addTimeToDate

    • Adds the specified times to the given time. Times are added in the order in which they are given.

      Parameters

      • date: DateTime

        The initial date time object.

      • ...times: [number, TimeUnit][]

        Tuples of [value, unit] (e.g. [1, "month"]) to add to the date time object.

      Returns Dayjs