urbanplum / dotnet-datetime
Tools to convert between .NET and PHP date formats
Installs: 25 211
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=5.3.0
Requires (Dev)
- phpunit/phpunit: 4.*
- symfony/var-dumper: ~2.7
This package is auto-updated.
Last update: 2024-10-12 04:00:04 UTC
README
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.