System.DateUtils.WithinPastMilliSeconds

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

extern DELPHI_PACKAGE bool __fastcall WithinPastMilliSeconds(const System::TDateTime ANow, const System::TDateTime AThen, const __int64 AMilliSeconds);

Properties

Type Visibility Source Unit Parent
function public
System.DateUtils.pas
System.DateUtils.hpp
System.DateUtils System.DateUtils

Description

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

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

See Also


Code Examples