PHPackages                             fastybird/datetime-factory - 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. fastybird/datetime-factory

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

fastybird/datetime-factory
==========================

Date &amp; time service factory with timezones support

v0.7.1(1y ago)057.9k1Apache-2.0PHPPHP &gt;=8.1.0

Since Jul 19Pushed 1y agoCompare

[ Source](https://github.com/FastyBird/datetime-factory)[ Packagist](https://packagist.org/packages/fastybird/datetime-factory)[ Docs](https://www.fastybird.com)[ RSS](/packages/fastybird-datetime-factory/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (10)Dependencies (14)Versions (13)Used By (1)

FastyBird date &amp; time factory library
=========================================

[](#fastybird-date--time-factory-library)

[![Build Status](https://camo.githubusercontent.com/51bb7ae2b805761d42a1cba854bbd8a76ac2065f7e8d11bb58f53e3d08684105/68747470733a2f2f62616467656e2e6e65742f6769746875622f636865636b732f4661737479426972642f6461746574696d652d666163746f72792f6d61696e3f63616368653d333030267374796c653d666c6173742d737175617265)](https://github.com/FastyBird/datetime-factory/actions)[![Licence](https://camo.githubusercontent.com/c5e4a4b55541b57a75df7931337a2be0e4fdba7394f25f9ed14fa7be3d9a8db4/68747470733a2f2f62616467656e2e6e65742f6769746875622f6c6963656e73652f4661737479426972642f6461746574696d652d666163746f72793f63616368653d333030267374796c653d666c6173742d737175617265)](https://github.com/FastyBird/datetime-factory/blob/main/LICENSE.md)[![Code coverage](https://camo.githubusercontent.com/9090327d914d2c9ac311b888a339b2418114c7ef46850c72fe9687e584fc5d06/68747470733a2f2f62616467656e2e6e65742f636f766572616c6c732f632f6769746875622f4661737479426972642f6461746574696d652d666163746f72793f63616368653d333030267374796c653d666c6173742d737175617265)](https://coveralls.io/r/FastyBird/datetime-factory)

[![PHP](https://camo.githubusercontent.com/0f74960da84996b0055a579560ad5945fff3074debd728dd6f14683174fae804/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f4661737479426972642f6461746574696d652d666163746f72793f63616368653d333030267374796c653d666c6173742d737175617265)](https://camo.githubusercontent.com/0f74960da84996b0055a579560ad5945fff3074debd728dd6f14683174fae804/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f4661737479426972642f6461746574696d652d666163746f72793f63616368653d333030267374796c653d666c6173742d737175617265)[![Latest stable](https://camo.githubusercontent.com/c8018d7f1c4879fe466fa28686d8fa8b67a44f8f565dbf6a3c02c49ef0022a0a/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f4661737479426972642f6461746574696d652d666163746f72792f6c61746573743f63616368653d333030267374796c653d666c6173742d737175617265)](https://packagist.org/packages/FastyBird/datetime-factory)[![Downloads total](https://camo.githubusercontent.com/420480eba9aadb22b8d1b36146b4246ff765a456c008813ee1a52c2198956f11/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f4661737479426972642f6461746574696d652d666163746f72793f63616368653d333030267374796c653d666c6173742d737175617265)](https://packagist.org/packages/FastyBird/datetime-factory)[![PHPStan](https://camo.githubusercontent.com/a44af5fc39484990738cc4bd3874d884a42afdeed470b34a010e77bb8341ef31/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/phpstan/phpstan)

---

What is FastyBird date &amp; time factory library?
--------------------------------------------------

[](#what-is-fastybird-date--time-factory-library)

This is a [Nette framework](https://nette.org) extension which create date &amp; time factory with ability to set timezone

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

[](#installation)

The best way to install **fastybird/datetime-factory** is using [Composer](http://getcomposer.org/):

```
composer require fastybird/datetime-factory
```

Documentation
-------------

[](#documentation)

Learn how to generate immutable time with service in [documentation](https://github.com/FastyBird/datetime-factory/blob/main/.docs/en/index.md).

---

Homepage  and repository .

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~136 days

Recently: every ~173 days

Total

12

Last Release

663d ago

PHP version history (5 changes)v0.1.0PHP &gt;=7.3.0

v0.2.0PHP &gt;=7.4.0

v0.2.1PHP &gt;=7.4.0|&gt;=8.0.0

v0.5.0PHP &gt;=8.0.0|&gt;=8.1.0

v0.6.0PHP &gt;=8.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2c952d3ec44db15105f8c8d4ccdb6cd0fe1a17445a5aa36470a044b1c17d2f2?d=identicon)[akadlec](/maintainers/akadlec)

---

Top Contributors

[![akadlec](https://avatars.githubusercontent.com/u/1866672?v=4)](https://github.com/akadlec "akadlec (45 commits)")

---

Tags

datesdatetimedatetime-factoryfastybirdimutabilitytimelibrarytimedatelibsfbfastybird

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/fastybird-datetime-factory/health.svg)

```
[![Health](https://phpackages.com/badges/fastybird-datetime-factory/health.svg)](https://phpackages.com/packages/fastybird-datetime-factory)
```

###  Alternatives

[knplabs/knp-time-bundle

Making your dates and durations look sensible and descriptive

6239.3M51](/packages/knplabs-knp-time-bundle)[league/period

Time range API for PHP

7335.7M22](/packages/league-period)[brick/date-time

Date and time library

3623.6M94](/packages/brick-date-time)[aeon-php/calendar

PHP type safe, immutable calendar library

20410.2M16](/packages/aeon-php-calendar)[tplaner/when

Date/Calendar recursion library.

5261.1M7](/packages/tplaner-when)[florianv/business

DateTime calculations in business hours

360781.1k1](/packages/florianv-business)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
