ts-playground
    Preparing search index...

    Function toHumanDurationWithDiff

    • Convert the duration between two DateTimes to a human readable format

      Parameters

      • begin: DateTime

        The beginning DateTime

      • end: DateTime

        The ending DateTime

      • Optionalopts: TemporalToHumanDurationOptions

      Returns string