kwetal/dateutils

A number of utility methods for handling date related operations, wrapped in a object-oriented interface

1.1.0 2014-11-10 20:07 UTC

This package is not auto-updated.

Last update: 2024-04-23 01:24:42 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