Code solutions to PHP, JS, CSS

Spread your code soluces to the world

Love me

Search results for : human    (1)

Display natural human dates for past dates (php)

Little function to display past dates with a natural human language as on iphone based messages. It can write dates : now, 5mn ago, today at 12:18, yesterday at 08:20, monday at 21:12, 3 november at 12:18 (modify function for english users), 24 december 2013 at 23:59
solucior.com/39-Display_natural_human_dates_for_past_dates.html