RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.MilliSecondsBetween Function

Returns the number of milliseconds between two specified TDateTime values.

Pascal
function MilliSecondsBetween(const ANow: TDateTime; const AThen: TDateTime): Int64;
C++
Int64 MilliSecondsBetween(const TDateTime ANow, const TDateTime AThen);

Call MilliSecondsBetween to obtain the difference, in milliseconds, between two TDateTime values. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!