https://www.w3.org/TR/html51/infrastructure.html#durations https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement/dateTime
Stumbling upon a "duration string" and trying to convert it might be tricky. I myself did not find anything in the APIs to convert this into a more managable format. A friend wanted to read out minutes from it, so I made this simple script witch converts a "duration string" as per the HTML 5.1 spec into minutes.
Example duration string: P12DT7H12M13S
Awesome my friend