DateTime.ToDouble

Syntax

ToDouble: Double;

Description

The ToDouble property returns the date value in the Double format.

Example

Sub UserProc;
Var
    d: DateTime;
Begin
    d := DateTime.Now;
    Debug.WriteLine(d.ToDouble);
End Sub UserProc;

After executing the example the development environment console displays the value of the current date and time in the Double format.

See also:

DateTime