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);

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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!