Skip to main content
Version: Next

milliseconds

Converts a number to equivalent milliseconds.

milliseconds(x:number) -> duration

Description

This function returns milliseconds equivalent to a number, i.e., number * 1ms.

x: number

The number to convert.

See Also

years, months, weeks, days, hours, minutes, seconds, milliseconds, microseconds, nanoseconds