Time length to human readable format.
public static lengthOfTime ( integer $seconds, string | null $format = null, array $options = [] ) : string | ||
$seconds | integer | |
$format | string | null | |
$options | array | - boolean v: verbose - boolean zero: if false: 0 days 5 hours => 5 hours etc. - int: accuracy (how many sub-formats displayed?) //TODO |
return | string |