Function getMilliseconds

  • Converts ISO8601 format duration into milliseconds (PYYYYMMDDThhmmss) Example of duration - P3Y6M4DT12H30M5S

    Parameters

    • duration: any

      Time duration in ISO8601 format

    Returns number

    duration in milliseconds

Generated using TypeDoc