System.DateUtils.IncHour

From RAD Studio API Documentation
Revision as of 19:47, 11 November 2011 by L10nBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Delphi

function IncHour(const AValue: TDateTime; const ANumberOfHours: Int64 = 1): TDateTime;

C++

extern DELPHI_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


Code Examples

Personal tools
Translations