System.DateUtils.MilliSecondsBetween
Delphi
function MilliSecondsBetween(const ANow, AThen: TDateTime): Int64;
C++
extern DELPHI_PACKAGE __int64 __fastcall MilliSecondsBetween(const System::TDateTime ANow, const System::TDateTime AThen);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.DateUtils.pas System.DateUtils.hpp |
System.DateUtils | System.DateUtils |
説明
指定した 2 つの TDateTime 値の間隔が何ミリ秒かを返します(端数は切り捨て)。
MilliSecondsBetween を呼び出すと、2 つの TDateTime 値の差分をミリ秒数で取得できます。
MilliSecondsBetween は、常に整数値を返すため、パラメータ値は変換可能になっています。
関連項目