2017 © Pedro Peláez
 

library in-time

Helper to convert years, days, hours, minutes, seconds and milliseconds to smaller time units.

image

steffenbrand/in-time

Helper to convert years, days, hours, minutes, seconds and milliseconds to smaller time units.

  • Thursday, March 29, 2018
  • by steffenbrand
  • Repository
  • 1 Watchers
  • 3 Stars
  • 402 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 164 % Grown

The README.md

InTime

Build Scrutinizer Code Quality Latest Stable Version Latest Unstable Version Total Downloads License composer.lock available, (*1)

Helper to convert years, days, hours, minutes, seconds and milliseconds to smaller time units., (*2)

How to install

composer require steffenbrand/in-time

How to use

$a = 2 * Years::IN_DAYS; // 730
$b = 2 * Weeks::IN_DAYS; // 14
$c = 2 * Days::IN_HOURS; // 48
$d = 2 * Hours::IN_MINUTES; // 120
$e = 3 * Minutes::IN_SECONDS; // 180
$f = 2 * Seconds::IN_MILLISECONDS; // 2000
$g = 2 * Seconds::IN_MICROSECONDS; // 2000000

The Versions

29/03 2018

dev-master

9999999-dev https://github.com/steffenbrand/in-time

Helper to convert years, days, hours, minutes, seconds and milliseconds to smaller time units.

  Sources   Download

Unlicense

The Requires

  • php >=5.6

 

The Development Requires

by Steffen Brand

convert seconds

28/06 2017

1.0.0

1.0.0.0 https://github.com/steffenbrand/in-time

Helper to convert years, days, hours, minutes, seconds and milliseconds to smaller time units.

  Sources   Download

Unlicense

The Requires

  • php >=5.6

 

The Development Requires

by Steffen Brand

convert seconds