https://github.com/null-none/dateago
PHP class for format date after created.
https://github.com/null-none/dateago
Last synced: about 1 year ago
JSON representation
PHP class for format date after created.
- Host: GitHub
- URL: https://github.com/null-none/dateago
- Owner: null-none
- Created: 2012-06-03T18:29:54.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2016-10-19T06:20:19.000Z (over 9 years ago)
- Last Synced: 2025-01-26T09:28:28.300Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
PHP class for format date after created.
## Install
```bash
composer require dmitry/date-ago
```
## Example
```php
$date = new DateAgo();
$date->current= strtotime("31.10.2011");
$date->agoPrint();
```
## License
MIT