System.DateUtils.IncMilliSecond

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IncMilliSecond(const AValue: TDateTime; const ANumberOfMilliSeconds: Int64 = 1): TDateTime;

C++

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

Properties

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

Description

Returns a date/time value shifted by a specified number of milliseconds.

IncMilliSecond returns the value of the AValue parameter, incremented by ANumberOfMilliSeconds milliseconds. ANumberOfMilliSeconds can be negative, to return a date and time N milliseconds prior to AValue.

See Also


Code Examples