PT1H30M to seconds, and seconds back to PT1H30M
P starts the duration and T starts the time part. After T, H is hours, M is minutes and S is seconds. PT1H30M is one hour thirty minutes, or 5400 seconds.
Before T, M is months. After T, M is minutes. P1M is one month and PT1M is one minute, which are completely different lengths. This is the most common mistake.
You can write P1W3D to mean one week and three days. A week counts as seven days, and this tool follows the same rule.
Whether a year is 365 or 366 days, and whether a month is 28 to 31 days, depends on the start date. For input containing Y or M this tool reports an estimate using 365 days per year and 30 days per month, and says so under the result.
5400 seconds. One hour is 3600 seconds and thirty minutes is 1800 seconds.
P1M is one month and PT1M is one minute. M before T means months and M after T means minutes.
VideoObject duration and Recipe cookTime take an ISO 8601 duration. The time-only form such as PT1H30M is the usual choice. The "Hours only" output of this tool can be pasted directly.
No. All conversion runs in your browser. Your input is never sent to or stored on a server.