Posted By

warbux on 07/06/10


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

manavecplan
mikoli


Wordpress better date snippet


 / Published in: PHP
 

URL: http://www.wprecipes.com/display-dates-as-time-ago-the-easy-way

  1. <?php echo human_time_diff(get_the_time('U'), current_time('timestamp')) . ' ago'; ?>

Report this snippet  

You need to login to post a comment.