Gets a string indicating how long ago a given date was in the largest unit possible.

This function is valid in v2.1.0 to v2.24.2. This function has been downloaded 59 times.


{Date} dateTime
Date in the past.
{Date=} opt_currDateTime Optional, Default:new Date()
Current date. If not given defaults to the current date and time.


A string indicating in the largest unit possible how long ago dateTime happened compared to opt_currDateTime.