Adds or subtracts a specified number of minutes from a given date.

  • Parameters

    • date: Date

      Date to provide

    • minutesToAddOrSubtract: number

      Amount of minutes to add or subtract Ex: -1 for the previous minute, 1 for the next one.

    Returns Date