Quoting Grant Black <[EMAIL PROTECTED]>:

> I thought TDateTimes store the time in milli-seconds so that doing the
> following should work (at least for times in the same day):
snip
> For a process that took 2:21:43 (2 hours, 21 minutes), last night=A0my
> code showed '97.22=A0 seconds'.=A0 Mmmh - I need to decode the =
> date_times?

The fractional part of a TDateTime is the proportion of a day (time) measured 
in 24 hours. The integral part is the number of days.

In this case your two date/times when subtracted from each other will return, 
presumably, 0.097, which when multiplied by 24 hours, comes back with 2 hours 
21 minutes 43 seconds.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to