ToDouble: Double;
The ToDouble property returns the value of a time interval in the Double format.
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: