Using simple epoch time calculations and PHP, I've created a small, easy-to-use, hard-to-break PHP function for converting the time since an event (in seconds) to something like "around five minutes ago".
Available under Creative Commons Attribution-Noncommercial-Share-Alike 2.5 for UK:Scotland