This question already has answers here:
Closed 6 years ago.
I'm looking for a function that will take in a unix timestamp and output something like this:
4 years, 3 months, 12 days, 4 hours and 23 minutes ago.
Everything I have found has been pretty dates that just say something similar to "5 years ago" which I don't want.