Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleAvailability

This routine is available starting with SIL Engine™ 2.5.9.

Syntax

 millisToInterval(millis)

Description

Excerpt
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

millisToInterval(millis)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Converts milliseconds to a time interval.

Converts milliseconds to a time interval.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

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)
showLabelsfalse
max10025
showSpacefalse
cqllabel = "date_routines" and space = currentSpace ( )
labelsdatearray_routines