[Overview][Constants][Procedures and functions][Index] |
Increase a TDateTime value with a number of minutes.
Source position: dateutil.inc line 293
function IncMinute( |
const AValue: TDateTime; |
const ANumberOfMinutes: Int64 |
):TDateTime; |
const AValue: TDateTime |
):TDateTime; |
AValue |
|
TDateTime to which minutes should be added. |
ANumberOfMinutes |
|
Number of minutes to add |
TDateTime representing AValue plus ANumberOfMinutes minutes.
AValue |
|
TDateTime to which minutes should be added. |
IncMinute adds ANumberOfMinutes minutes to AValue and returns the resulting date/time.ANumberOfMinutes can be positive or negative.
|
Increase a TDateTime value with a number of years. |
|
|
Increases the month in a TDateTime value with a given amount. |
|
|
Increase a TDateTime value with a number of weeks. |
|
|
Increase a TDateTime value with a number of days. |
|
|
Increase a TDateTime value with a number of hours. |
|
|
Increase a TDateTime value with a number of seconds. |
|
|
Increase a TDateTime value with a number of milliseconds. |
Program Example76; { This program demonstrates the IncMinute function } Uses SysUtils,DateUtils; Begin Writeln('One Minute from now is ',TimeToStr(IncMinute(Time,1))); Writeln('One Minute ago from now is ',TimeToStr(IncMinute(Time,-1))); End.