System.DateUtils.RecodeMilliSecond
Delphi
function RecodeMilliSecond(const AValue: TDateTime; const AMilliSecond: Word): TDateTime;
C++
extern DELPHI_PACKAGE System::TDateTime __fastcall RecodeMilliSecond(const System::TDateTime AValue, const System::Word AMilliSecond);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.DateUtils.pas System.DateUtils.hpp |
System.DateUtils | System.DateUtils |
説明
指定された TDateTime 値のミリ秒を置換します。
RecodeDateMilliSecond を呼び出すと,AValue で指定された日付時刻値を,ミリ秒を AMilliSecond に変更して得られた値で変換できます。AMilliSecond の有効な値は 0 ~ 999 です。
AMilliSecond で指定された値が有効な範囲にない場合,RecodeDateMilliSecond は EConvertError 例外を生成します。