Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The format()
method of Intl.DurationFormat
instances formats a duration according to the locale and formatting options of this Intl.DurationFormat
object.