codehaven - php snippets - coding help
Generic filters
Exact matches only

Convert timestamp to relative time in php

9th September 2018

Php - Dates & Time

php codehaven

Such a handy time format to have
Shows time such as “5 mins ago” or “about an hour ago”
instead of 12.54

Relative time in php

Source: Convert timestamp to relative time in php – IdiotInside.com

Was this code snippet helpful?