PHPackages                             innmind/time-continuum - 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. innmind/time-continuum

Abandoned → [innmind/time](/?search=innmind%2Ftime)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

innmind/time-continuum
======================

Library to manipulate time

5.1.0(5mo ago)28156.2k↓39.8%113MITPHPPHP ~8.4CI passing

Since Oct 11Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/Innmind/TimeContinuum)[ Packagist](https://packagist.org/packages/innmind/time-continuum)[ Docs](http://github.com/Innmind/TimeContinuum)[ RSS](/packages/innmind-time-continuum/feed)WikiDiscussions develop Synced 3d ago

READMEChangelog (10)Dependencies (5)Versions (37)Used By (13)

TimeContinuum
=============

[](#timecontinuum)

[![Build Status](https://github.com/Innmind/TimeContinuum/workflows/CI/badge.svg?branch=master)](https://github.com/Innmind/TimeContinuum/actions?query=workflow%3ACI)[![codecov](https://camo.githubusercontent.com/f27a939d02f9fff83227cbb3a051db70f184101834fe474f7f0ddb8ba29ce2cb/68747470733a2f2f636f6465636f762e696f2f67682f496e6e6d696e642f54696d65436f6e74696e75756d2f6272616e63682f646576656c6f702f67726170682f62616467652e737667)](https://codecov.io/gh/Innmind/TimeContinuum)[![Type Coverage](https://camo.githubusercontent.com/781d7ad9874041e274b7768959c758b7d524db3ceb33a2c66f383b4d37b8e285/68747470733a2f2f73686570686572642e6465762f6769746875622f696e6e6d696e642f74696d65636f6e74696e75756d2f636f7665726167652e737667)](https://shepherd.dev/github/innmind/timecontinuum)

Important

This project has been replaced by [`innmind/time`](https://github.com/Innmind/time)

This library allows you to handle time down to the millisecond. The point was to also be explicit for every component of dates, this is why every php *magic strings* have been converted into objects.

**All objects are immutable.**

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

[](#installation)

```
composer install innmind/time-continuum
```

Usage
-----

[](#usage)

```
use Innmind\TimeContinuum\{
    Clock,
    PointInTime,
    Format,
};
use Innmind\Immutable\Attempt;

$clock = Clock::live();
$now = $clock->now(); // return an instance of PointInTime
echo $now->toString(); // 2016-10-11T12:17:30.123456+02:00

$epoch = $clock->at(
    '1970-01-01T00:00:00.000000+00:00',
    Format::iso8601(),
); // Attempt
```

Here we reference 2 points in time, the first is the exact moment we call `now` down to the microsecond and the second one is the epoch time.

The method `at()` accepts any string that is allowed by `\DateTimeImmutable`.

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

[](#documentation)

Full documentation is available at .

###  Health Score

61

—

FairBetter than 98% of packages

Maintenance73

Regular maintenance activity

Popularity41

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity92

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 99.7% 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 ~99 days

Recently: every ~76 days

Total

35

Last Release

168d ago

Major Versions

1.4.1 → 2.0.02019-12-10

2.6.0 → 3.0.02022-01-15

3.4.1 → 4.0.02024-11-28

v3.x-dev → 4.1.02025-03-20

4.2.0 → 5.0.02026-01-11

PHP version history (8 changes)1.0.0PHP ~7.0

1.3.0PHP ~7.2

2.0.0PHP ~7.4

2.6.0PHP ~7.4|~8.0

3.0.0PHP ~8.0

3.2.0PHP ~8.1

3.3.0PHP ~8.2

5.0.0PHP ~8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/851425?v=4)[Baptiste Langlade](/maintainers/Baptouuuu)[@Baptouuuu](https://github.com/Baptouuuu)

---

Top Contributors

[![Baptouuuu](https://avatars.githubusercontent.com/u/851425?v=4)](https://github.com/Baptouuuu "Baptouuuu (357 commits)")[![einenlum](https://avatars.githubusercontent.com/u/5675200?v=4)](https://github.com/einenlum "einenlum (1 commits)")

---

Tags

clocktimetime

### Embed Badge

![Health badge](/badges/innmind-time-continuum/health.svg)

```
[![Health](https://phpackages.com/badges/innmind-time-continuum/health.svg)](https://phpackages.com/packages/innmind-time-continuum)
```

###  Alternatives

[symfony/lock

Creates and manages locks, a mechanism to provide exclusive access to a shared resource

514139.2M693](/packages/symfony-lock)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k53](/packages/ecotone-ecotone)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[illuminate/broadcasting

The Illuminate Broadcasting package.

7127.2M209](/packages/illuminate-broadcasting)[logiscape/mcp-sdk-php

Model Context Protocol SDK for PHP

368116.8k12](/packages/logiscape-mcp-sdk-php)

PHPackages © 2026

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