API / Minn\Runtime / TimeSince

TimeSince final class

Minn\Runtime\TimeSince · public/minn/src/Minn/Runtime/TimeSince.php · 12 lines

How long ago something was, as human_time_diff words it: the span between two times in its largest whole unit ("3 days"), through human_time_diff.

Public

staticbetween(int $from, int $to = 0): string#

The span from one time to another (now when none is given).