Risolto cosi
UNIX_TIMESTAMP(post_date) >= $ranking_time