tokiya/timeish

PHP library that can handle more than 24 hours.

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1

pkg:composer/tokiya/timeish

v1.0.0 2023-12-05 03:32 UTC

This package is auto-updated.

Last update: 2025-10-05 07:35:42 UTC


README

Timeish is a library that can handle values beyond 24 as if they were time.

Installation

Install the latest version with

$ composer require tokiya/timeish

Example

$timeish = new Timeish(24, 0);

echo $timeish->toString(); // 24:00

The concept of time is not forgotten.

$timeish = new Timeish(0, 59);
$timeish->addMinute();

echo $timeish->toString(); // 01:00

Timeish will make you happy.