TimeSpan.ToDouble

Syntax

ToDouble: Double;

Description

The ToDouble property returns the value of a time interval in the Double format.

Example

Sub Main;

Var

t: TimeSpan;

Begin

t := TimeSpan.Compose(1, 12, 10, 0, 0);

Debug.WriteLine(t.ToDouble);

End Sub Main;

After executing the example the development environment console displays the value of the time interval using the Double format.

See also:

TimeSpan