Skip to content

$digitalFormat

$digitalFormat will convert ms to digital formatted, readable time.

Usage

$digitalFormat[ms]

Parameters

FieldTypeDescriptionRequired
msnumberTime in milliseconds you wish to convert.true

Example(s)

This will return 00:04:00 as 240000ms are four minutes:

1
client.command({
2
name: "digitalFormat",
3
code: `
4
$digitalFormat[240000]
5
`
6
});