TimeSpan.TotalMinutes

Syntax

TotalMinutes: Double;

Description

The TotalMinutes property returns length of time interval in minutes.

Example

Sub Main;

Var

t: TimeSpan;

Begin

t := TimeSpan.Compose(1, 10, 15, 33, 7);

Debug.WriteLine(t.Minutes);

Debug.WriteLine(t.TotalMinutes);

End Sub Main;

After executing the example a new time interval is obtained. The development environment console displays the number of full minutes in the time interval and the interval length in minutes.

15

2055,55011666667

See also:

TimeSpan