RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.MilliSecondSpan Function

Returns the number of milliseconds between two specified TDateTime values.

Pascal
function MilliSecondSpan(const ANow: TDateTime; const AThen: TDateTime): Double;
C++
Double MilliSecondSpan(const TDateTime ANow, const TDateTime AThen);

DateUtils

Call MilliSecondSpan to obtain the difference, in milliseconds, between two TDateTime values. MilliSecondSpan returns the same value as MilliSecondsBetween, but as a floating point type instead of an integer. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!