Tools for conversion between .NET and PHP DateTime objects
Via Composer
$ composer require urbanplum/dotnet-datetime
$dotnetDateTime = new \Urbanplum\DotnetDateTime\DotnetDateTime();
echo $dotnetDateTime->formatToPhp('yyyy-MM-dd hh\:mm\:ss');
// Y-m-d h:i:s
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING for details.
If you discover any security related issues, please email hello@johnsmith.io instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.