RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.IncMinute Function

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

Pascal
function IncMinute(const AValue: TDateTime; const ANumberOfMinutes: Int64 = 1): TDateTime;
C++
TDateTime IncMinute(const TDateTime AValue, const Int64 ANumberOfMinutes = 1);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!