• Parameters

    • date: Date
    • unit:
          | "day"
          | "hour"
          | "minute"
          | "month"
          | "second"
          | "year"
          | "quarter"
          | "week"
          | "millisecond"
    • amount: number
    • Optional_timezone: string

    Returns Date