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

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