Skip to content

loevgaard/dandomain-datetime

Repository files navigation

Dandomain date time library

Latest Version on Packagist Software License Build Status Coverage Status Quality Score

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.