I'm using DELPHI 5, I need a precision function to get the number of seconds between two TDateTime IN delphi5.
Between D1 and D2 where
D1 = 2012-07-25 11:09:30.000
D2= 2016-07-28 04:46:37.000
The function should return the different between D2-D1 on Seconds
Note: Delphi5 not supporting DateUtils unit so don't use it.