I am new in Delphi programming.
While going through the Data Types in Delphi I found TDateTime.
While using it in my test application I come to know that the TDateTime Object provide me a Float\Double value.
I am little curious about TDateTime How it calculate the Date Time to Double value.
Below is the example code which I had used:
var
LDateTime: TDateTime;
LFloat: Double;
begin
LDateTime := now;// current DateTime
LFloat:= LDateTime; // provide me a float value
end;
Is it using any formula to calculate Date and Time Value from Windows?
Can anyone suggest/provide me for some more information about working of TDateTime?
Thanks in advance.