TimeSpan.Days

Syntax

Days: Integer;

Description

The Days property returns the number of full days in the time interval.

Example

Sub UserProc;
Var
    t: TimeSpan;
Begin
    t := TimeSpan.Compose(11015337);
    Debug.WriteLine(t.Days);
    Debug.WriteLine(t.TotalDays);
End Sub UserProc;

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

1

1,4274653587963

See also:

TimeSpan