DateTime.Minute

Syntax

Minute: Integer;

Description

The Minute property returns the number of minutes from the current variable.

Example

Sub UserProc;
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 UserProc;

After executing the example the "i" variable contains the number of minutes of the current time increased by 10, and the "i1" variable contains the number of minutes of the current time decreased by 5.

See also:

DateTime