kaven-basic - v6.0.0
    Preparing search index...

    Function SubtractWeeks

    • Subtracts a specified number of weeks from the given date.

      Parameters

      • date: Date

        The original date from which weeks will be subtracted.

      • weeks: number

        The number of weeks to subtract.

      Returns Date

      A new Date object with the specified number of weeks subtracted.