TotalMilliseconds Procedure

Converts a TimeSpan to milliseconds.
Declaration
function TotalMilliseconds(span as TimeSpan) as Number

Parameters

Return value

Number — A possibly fractional number of milliseconds.

Example

Code
dim x = Seconds(10)
print TotalMilliseconds(x)
Output
10000