millisToInterval
Syntax | millisToInterval(millis) | Package |
|
Alias |
| Pkg Usage |
|
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
Peacock
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.
