Duration Formatter
Time & Date · Free Online Tool
Convert between ISO 8601 duration (PT1H30M) and readable text.
ISO 8601 → Text
Text → ISO 8601
ISO 8601 Compliant
Parses PnYnMnDTnHnMnS and PnW week forms.
Both Directions
ISO → text and text → ISO, side by side.
Weeks Support
Recognizes the PnW shorthand for weekly durations.
How to Use Duration Formatter
- 1Enter the time, date, or value you want to convert.
- 2Select the target format or timezone.
- 3The tool calculates the result instantly.
- 4Copy the converted value for your use.
Features
- ✓100% free — no signup, no subscription, no ads
- ✓Runs entirely in your browser — data never leaves your device
- ✓Fast and lightweight — instant results
- ✓Cross-platform — works on desktop, tablet, and mobile
Frequently Asked Questions
What timezone is used by default?
The Timestamp Converter uses UTC by default but can display results in your local timezone.
Can I convert timestamps from different programming languages?
Yes, the tool supports Unix timestamps (seconds and milliseconds), ISO 8601, and various date string formats.
Does daylight saving time affect the result?
Timezone conversions apply the daylight saving rules of the selected region. If you need a fixed offset, pick a UTC offset zone instead of a named city.
What is the difference between Unix seconds and milliseconds?
Seconds-based Unix time has 10 digits (typical for servers and databases); milliseconds has 13 digits (typical for JavaScript Date). The converter auto-detects the unit and lets you override it.
Related Tools
Timestamp Converter
Convert Unix timestamps to dates and back.
Date Calculator
Add/subtract dates and calculate differences.
Timezone Converter
Convert time across world timezones.
Cron Parser
Parse cron expressions and show next runs.
Temperature Converter
Convert between Celsius, Fahrenheit, and Kelvin.
Chronometer
Precision stopwatch with lap times and millisecond accuracy.
Date Difference Calculator
Calculate the difference between two dates in years/days/hours.
Date Add/Subtract
Add or subtract years/months/days/hours/minutes/seconds from a date.