TimeSpan.TotalMilliseconds

Syntax

TotalMilliseconds: Double;

Description

The TotalMilliseconds property returns length of time interval in milliseconds.

Example

Sub Main;

Var

t: TimeSpan;

Begin

t := TimeSpan.Compose(1, 10, 15, 33, 7);

Debug.WriteLine(t.Milliseconds);

Debug.WriteLine(t.TotalMilliseconds);

End Sub Main;

After executing the example a new time interval is obtained. The development environment console displays the number of full milliseconds in the time interval and the interval length in milliseconds.

7

123333007

See also:

TimeSpan