I\'m running this SELECT statement:
SELECT
TIMEDIFF(NOW(), posts.date_modified) as time_ago
And getting results in the format 0
0
SELECT TIME_FORMAT(TIMEDIFF(NOW(), posts.date_modified), '%H:%i') AS time_ago
Consult the manual for more on TIME_FORMAT() and a table of allowed specifiers.