Intl.RelativeTimeFormat
Term side of the Card
Topic: Intl
Unit title: Intl.RelativeTimeFormat
Categories: Object
Explanation side of the Card
Explanation: The object that formats relative time phrases, such as '2 days ago' or 'in 3 weeks', according to locale-specific conventions. It's useful for displaying time in a human-friendly format.
Browser compatibility:
- The chrome browser supports this feature starting from version 71
- The edge browser supports this feature starting from version 79
- The firefox browser supports this feature starting from version 65
- The safari browser supports this feature starting from version 14
Availability: