Web features explorer

Intl.DurationFormat

Limited availability
Tags: javascript Groups: JavaScript > Internationalization

The Intl.DurationFormat API creates a locale-aware formatter that turns an object representing a duration (such as days, hours, and minutes) into a string.

Learning resources on MDN

Browser support

Baseline availability blocked since September 2024 by Firefox (3 months)

Specifications