Availability
This routine is available starting with SIL Engine™ 2.5.9.
Syntax
millisToInterval(millis)
Description
Converts milliseconds to a time interval.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
millis | number | Yes | Specifies the milliseconds to convert. |
Return type
interval
Example
return millisToInterval(616623112);
Outputs: 1w 3h 17m 3s
See also