Show: Delphi C++
Display Preferences

System.DateUtils.IncSecond

From RAD Studio API Documentation
Jump to: navigation, search

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);

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 seconds.

IncSecond returns the value of the AValue parameter, incremented by ANumberOfSeconds seconds. ANumberOfSeconds can be negative, to return a date and time N seconds prior to AValue.

See Also


Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance