System.DateUtils.IncSecond

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

Delphi

function IncSecond(const AValue: TDateTime; const ANumberOfSeconds: Int64 = 1): TDateTime;

C++

extern DELPHI_PACKAGE System::TDateTime __fastcall IncSecond(const System::TDateTime AValue, const __int64 ANumberOfSeconds = 1LL);

プロパティ

種類 可視性 ソース ユニット
function public
System.DateUtils.pas
System.DateUtils.hpp
System.DateUtils System.DateUtils

説明

指定された秒数で変更された日付時刻値を返します。

IncSecond 関数は,AValue パラメータの値を ANumberOfSeconds の秒数でインクリメントして返します。ANumberOfSeconds に負の値を指定すると,AValue より指定された秒数だけ前の日付時刻値が返されます。

関連項目