PHPackages                             oat-sa/lib-tao-dtms - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. oat-sa/lib-tao-dtms

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

oat-sa/lib-tao-dtms
===================

Classes for manipulate dates and intervals with microseconds precision

v1.1.0(1mo ago)3100.3k↑178.2%34GPL-2.0-onlyPHPPHP ^8.3CI failing

Since Oct 19Pushed 1mo ago45 watchersCompare

[ Source](https://github.com/oat-sa/lib-tao-dtms)[ Packagist](https://packagist.org/packages/oat-sa/lib-tao-dtms)[ RSS](/packages/oat-sa-lib-tao-dtms/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (7)Dependencies (2)Versions (10)Used By (4)

DateTime with Microseconds [![](https://camo.githubusercontent.com/6e14fa6ce72178a5d245c8f6c6fc60cb43db77336b23a899feab367d0d011d51/68747470733a2f2f7472617669732d63692e6f72672f6f61742d73612f6c69622d74616f2d64746d732e737667)](https://camo.githubusercontent.com/6e14fa6ce72178a5d245c8f6c6fc60cb43db77336b23a899feab367d0d011d51/68747470733a2f2f7472617669732d63692e6f72672f6f61742d73612f6c69622d74616f2d64746d732e737667)
================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#datetime-with-microseconds-)

DateTime and DateInterval classes with support of microseconds

NOTE! This package not fully tested, so use it with caution.
------------------------------------------------------------

[](#note-this-package-not-fully-tested-so-use-it-with-caution)

This small package with two classes just wrapper around built in PHP classes for work with date and time but with support operations with microseconds.

Installation
------------

[](#installation)

Package use PSR-4 standard, so for using this classes just install package using Composer.

```
$ composer require oat-sa/lib-tao-dtms
```

```
{
    "require": {
        "oat-sa/lib-tao-dtms": "~0.5"
    }
}
```

```
