An open API service indexing awesome lists of open source software.

https://github.com/subjective-php/date

DateTime utilities and classes
https://github.com/subjective-php/date

date-time php

Last synced: about 1 year ago
JSON representation

DateTime utilities and classes

Awesome Lists containing this project

README

          

# SubjectivePHP\Date
[![Latest Stable Version](https://poser.pugx.org/subjective-php/date/v/stable)](https://packagist.org/packages/subjective-php/date)
[![Latest Unstable Version](https://poser.pugx.org/subjective-php/date/v/unstable)](https://packagist.org/packages/subjective-php/date)
[![License](https://poser.pugx.org/subjective-php/date/license)](https://packagist.org/packages/subjective-php/date)

[![Total Downloads](https://poser.pugx.org/subjective-php/date/downloads)](https://packagist.org/packages/subjective-php/date)
[![Monthly Downloads](https://poser.pugx.org/subjective-php/date/d/monthly)](https://packagist.org/packages/subjective-php/date)
[![Daily Downloads](https://poser.pugx.org/subjective-php/date/d/daily)](https://packagist.org/packages/subjective-php/date)

[![Documentation](https://img.shields.io/badge/reference-phpdoc-blue.svg?style=flat)](http://www.pholiophp.org/subjective-php/date)

A collection of various PHP classes for use with dates, times and timezones.

## Requirements

SubjectivePHP\Date requires PHP 7.0 (or later).

## Composer
To add the library as a local, per-project dependency use [Composer](http://getcomposer.org)! Simply add a dependency on `subjective-php/date` to your project's `composer.json` file such as:

```sh
composer require subjective-php/date
```
## Contact
Developers may be contacted at:

* [Pull Requests](https://github.com/subjective-php/date/pulls)
* [Issues](https://github.com/subjective-php/date/issues)

## Run Unit Tests
With a checkout of the code get [Composer](http://getcomposer.org) in your PATH and run:

```sh
composer install
./vendor/bin/phpunit
./vendor/bin/phpcs
```