RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.WithinPastMilliSeconds Function

Indicates whether two date/time values are within a specified number of milliseconds of each other.

Pascal
function WithinPastMilliSeconds(const ANow: TDateTime; const AThen: TDateTime; const AMilliSeconds: Int64): Boolean;
C++
Boolean WithinPastMilliSeconds(const TDateTime ANow, const TDateTime AThen, const Int64 AMilliSeconds);

DateUtils

Call WithinPastMilliSeconds to determine whether the date and time specified by ANow is within AMilliSeconds milliseconds of the date and time specified by AThen. 

 

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