dmitry/date-ago

Library for convert string to time ago

dev-master 2016-10-19 06:20 UTC

This package is not auto-updated.

Last update: 2025-04-02 22:57:46 UTC


README

PHP class for format date after created.

Install

composer require dmitry/date-ago

Example

$date = new DateAgo();
$date->current= strtotime("31.10.2011");
$date->agoPrint();

License

MIT