Info |
---|
|
This routine is available starting with SIL Engine™ 2.5.9. |
Syntax
millisToInterval(millis)
Description
Excerpt |
---|
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | millisToInterval(millis) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Converts milliseconds to a time interval. |
Converts milliseconds to a time interval.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
millis | |
...
Number | Yes | Specifies the milliseconds to convert. |
|
Return
...
Type
intervalInterval
Example
Code Block |
---|
return millisToInterval(616623112);
|
Outputs: 1w 1w 3h 17m 3s
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 10025 |
---|
showSpace | false |
---|
cql | label = "date_routines" and space = currentSpace ( ) |
---|
labels | datearray_routines |
---|
|