millisToInterval

Description

Converts milliseconds to a time interval.

Parameters

Return Type

Interval

Example

return millisToInterval(616623112);

Outputs: 1w 3h 17m 3s

See also