kwetal / dateutils
A number of utility methods for handling date related operations, wrapped in a object-oriented interface
Installs: 48
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kwetal/dateutils
Requires
- php: >=5.4.0
Requires (Dev)
- phpunit/phpunit: 4.3.*
This package is not auto-updated.
Last update: 2025-10-21 09:17:08 UTC
README
A number of utility methods for handling date related operations, wrapped in a object-oriented interface
Installation
The recommended way to install DateUtils is through composer.
Just create a composer.json file for your project:
{
"require": {
"kwetal/dateutils": "dev-master"
}
}
And run these two commands to install it:
$ curl -sS https://getcomposer.org/installer | php
$ composer install
Now you can add the autoloader, and you will have access to the library:
<?php require 'vendor/autoload.php';
Unit tests
After installing, from the root project dir run
$ vendor/bin/phpunit