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

    Function SubtractHours

    • Subtracts a specified number of hours from a given date.

      Parameters

      • date: Date

        The original Date object from which hours will be subtracted.

      • hours: number

        The number of hours to subtract from the date.

      Returns Date

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