Minute: Integer;
The Minute property returns the number of minutes from the current variable.
Sub Main;
Var
DT: DateTime;
i, i1: Integer;
Begin
DT := DateTime.Now;
DT := DateTime.AddMinutes(DT, 10);
i := DT.Minute;
DT := DateTime.AddMinutes(DT, -15);
i1 := DT.Minute;
End Sub Main;
After executing the example the "i" variable will contain the number of minutes of the current time increased by 10, and the "i1" variable will contain the number of minutes of the current time decreased by 5.
See also: