ToDouble: Double;
The ToDouble property returns the date value in the Double format.
Sub Main;
Var
d: DateTime;
Begin
d := DateTime.Now;
Debug.WriteLine(d.ToDouble);
End Sub Main;
After executing the example the development environment console displays the value of the current date and time in the Double format.
See also: