[Overview][Constants][Procedures and functions] | Reference for unit 'dateutils' (#rtl) |
Increase a DateTime value with a number of minutes.
Source position: line 0
function IncMinute( |
const AValue: TDateTime; |
const ANumberOfMinutes: Int64 |
):TDateTime; |
const AValue: TDateTime |
):TDateTime; |
AValue |
|
DateTime to which minutes should be added. |
ANumberOfMinutes |
|
Number of minutes to add |
DateTime representing AValue plus ANumberOfMinutes minutes.
AValue |
|
DateTime to which minutes should be added. |
DateTime representing AValue plus ANumberOfMinutes minutes.
IncMinute adds ANumberOfMinutes minutes to AValue and returns the resulting date/time.ANumberOfMinutes can be positive or negative.
|
Increase a DateTime value with a number of years. |
|
|
Increases the month in a TDateTime value with a given amount. |
|
|
Increase a DateTime value with a number of weeks. |
|
|
Increase a DateTime value with a number of days. |
|
|
Increase a DateTime value with a number of hours. |
|
|
Increase a DateTime value with a number of seconds. |
|
|
Increase a DateTime 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.
No notes exist for this page yet.