You need to enable JavaScript to run this app.
JS Intl Kitchen Sink
RelativeTimeFormat
Intl.RelativeTimeFormat
Enables language-sensitive relative time formatting.
Change value
Result
in 1 day
Change unit
Select Unit
day
Parameters
Locale
Optional
locale
Select a locale
Options
Optional
localMatcher
Select a localMatcher
numeric
Select a numeric
style
Select a style
Useful Links
MDN web docs Mozilla
The Intl.RelativeTimeFormat object is a constructor for objects that enable language-sensitive relative time formatting.
v8.dev
Intl.RelativeTimeFormat
TC39
Intl.RelativeTimeFormat Spec Proposal