Function diffHours

  • Get the difference between two given dates in hours. Returns undefined if the hours of the passed date are NaN.

    Parameters

    • dt2: Date
    • dt1: Date

    Returns number | undefined

Generated using TypeDoc