Content-Length: 284775 | pFad | http://github.com/steffenbrand/in-time/#start-of-content

5E GitHub - steffenbrand/in-time: Helper to convert years, days, hours, minutes, seconds and milliseconds to smaller time units.
Skip to content

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

License

Notifications You must be signed in to change notification settings

steffenbrand/in-time

Repository files navigation

InTime

Build Scrutinizer Code Quality Latest Stable Version Latest Unstable Version Total Downloads License composer.lock available

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

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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/steffenbrand/in-time/#start-of-content

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy