System.DateUtils.RecodeMilliSecond

提供: RAD Studio API Documentation
移動先: 案内検索

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 例外を生成します。

関連項目