Get a localized string representation of the time between two dates
"Destination" time. time against which to get the time span.
"Starting" time. Time span will be formatted relative to to. Defaults to new Date()
to
new Date()
Time span in words from to to since
since
`since` = 3 Aug 2024 8:00 AM`to` = 5 Aug 2024 8:000 AMReturns: "two days ago" Copy
`since` = 3 Aug 2024 8:00 AM`to` = 5 Aug 2024 8:000 AMReturns: "two days ago"
Get a localized string representation of the time between two dates