System.DateUtils.IncMinute

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IncMinute(const AValue: TDateTime;
const ANumberOfMinutes: Int64 = 1): TDateTime;

C++

extern DELPHI_PACKAGE System::TDateTime __fastcall IncMinute(const System::TDateTime AValue, const __int64 ANumberOfMinutes = 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 minutes.

IncMinute returns the value of the AValue parameter, incremented by ANumberOfMinutes minutes. ANumberOfMinutes can be negative, to return a date and time N minutes prior to AValue.

See Also


Code Examples