Write a function named timeAgo that receives 2 Dates as parameters.
The function should return a string that describes the amount of time that has passed between those 2 dates, following this format:
date1
=date2
=date1
=date2
=Unlock all functions
The first 10 functions are free. Get lifetime access to all 100 with a one-time payment — no subscription.
Upgrade to Pro