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

DateUtils

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

 

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