loevgaard / dandomain-datetime
An extension of the DateTimeImmutable for use with Dandomain
v1.1.1
2019-10-01 08:46 UTC
Requires
- php: ^7.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.0
- phpunit/phpunit: ~5.5||~6.0
This package is auto-updated.
Last update: 2024-10-29 04:09:30 UTC
README
Install
Via Composer
$ composer require loevgaard/dandomain-datetime
Usage
<?php $dt = new \Loevgaard\DandomainDateTime\DateTimeImmutable(); // $dt is now a date time object with the timezone set to Europe/Copenhagen
Testing
$ composer test
License
The MIT License (MIT). Please see License File for more information.