Parse Duration
parse_durationParse an ISO 8601 duration string (e.g. "PT1H30M", "P1Y2M10DT2H") into its components and an approximate total in seconds (keyless, offline). Note: months=30d, years=365d for the estimate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | Yes | An ISO 8601 duration, e.g. "P1DT2H30M". |