The countdown from the current date?

How to make time at the review is shown as
5 minutes ago
1 hour ago
1 day ago
1 week ago
1 month ago
1 year ago

In this format
April 4th 20 at 13:03
1 answer
April 4th 20 at 13:05
Write in the address bar of your browser PHP 5 minutes ago

Find more questions by tags PHPWork with date / time