TotalMilliseconds Procedure
Converts a
TimeSpan to milliseconds.
Declaration
function TotalMilliseconds(span as TimeSpan) as Number
Parameters
- span as TimeSpan — The time span to convert.
Return value
Number — A possibly fractional number of milliseconds.
Example
Code
dim x = Seconds(10)
print TotalMilliseconds(x)
Output