urbanplum/dotnet-datetime

Tools to convert between .NET and PHP date formats

v1.0.0 2015-08-31 12:46 UTC

This package is auto-updated.

Last update: 2022-01-11 22:04:07 UTC


README

Latest Version on Packagist Total Downloads Software License

Tools for conversion between .NET and PHP DateTime objects

Install

Via Composer

$ composer require urbanplum/dotnet-datetime

Usage

$dotnetDateTime = new \Urbanplum\DotnetDateTime\DotnetDateTime();

echo $dotnetDateTime->formatToPhp('yyyy-MM-dd hh\:mm\:ss');

// Y-m-d h:i:s

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email hello@johnsmith.io instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.