LJ::ago_text — Converts integer seconds to English time span
LJ::ago_text
(secondsold);
secondsold. The number of seconds from now something was made.
Turns a number of seconds into the largest possible unit of time. "2 weeks", "4 days", or "20 hours".
cgi-bin/ljlib.pl
A string with the number of largest units found