ISO duration to seconds

Convert a fixed ISO 8601 duration containing days, hours, minutes and seconds to a total.