System.DateUtils.MilliSecondsBetween

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

extern DELPHI_PACKAGE __int64 __fastcall MilliSecondsBetween(const System::TDateTime ANow, const System::TDateTime AThen);

Properties

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

Description

Returns the number of milliseconds between two specified TDateTime values.

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

MilliSecondsBetween always returns a positive result and therefore the parameter values are interchangeable.

See Also


Code Examples