Show: Delphi
C++
Display Preferences
System.DateUtils.IncHour
From XE2 API Documentation
Delphi
function IncHour(const AValue: TDateTime; const ANumberOfHours: Int64 = 1): TDateTime;
C++
extern PACKAGE System::TDateTime __fastcall IncHour(const System::TDateTime AValue, const __int64 ANumberOfHours = 1LL);
Contents |
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 hours.
IncHour returns the value of the AValue parameter, incremented by ANumberOfHours hours. ANumberOfHours can be negative, to return a date and time N hours prior to AValue.
See Also