System.TimeSpan.TTimeSpan.Duration
Delphi
function Duration: TTimeSpan;
C++
TTimeSpan __fastcall Duration();
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| function | public | System.TimeSpan.pas System.TimeSpan.hpp | System.TimeSpan | TTimeSpan | 
Description
Returns the positive value of a time span.
The Duration method returns the positive value of a time span. The TTimeSpan instance returned is identical to the current instance except that the time interval is positive.