Blogs
Lightning-relative-date-time
The purpose of Lightning Relative Date Time is to display human-readable relative time values (such as “2 hours ago” or “in 3 days”) in Lightning Web Components. It helps developers present date and time information in a more user-friendly and contextual way without manual calculations or formatting logic.