Relative time
A relative time describes how far away are we, as of now, to an event that happens in the past or in the future. It is a duration relative to now.
When describing the duration, we can focus on the calendar date components, with low precision, such as today.
We can also emphasis the duration, regardless of the date components, such as 3 hours ago, or in 2 minutes.
Duration centric (Luxon)
zdt.toRelative() // "4 hours ago"
zdt.toRelative() // "in 2 days"
zdt.toRelative({ style: "short" }) // "4 hr. ago"
zdt.toRelative({ style: "narrow" }) // "4h ago"
zdt.toRelative({ unit: "seconds" }) // "300 seconds ago"
zdt.toRelative({ unit: "years" }) // "1 year ago"
zdt.toRelative({ round: false }) // "4.5 hours ago"
zdt.toRelative({ base: anchor }) // "5 years ago"
Calendar distance centric (Luxon)
zdt.toRelativeCalendar() // "today"
zdt.toRelativeCalendar() // "yesterday"
zdt.toRelativeCalendar() // "tomorrow"
zdt.toRelativeCalendar() // "2 days ago"
zdt.toRelativeCalendar({ unit: "months" }) // "last month"