Timespan.Seconds

Parent Previous Next

Timespan.Seconds.

Returns the seconds as a value between 0 and ±59.


Syntax.


 Seconds() : Integer

 


Example:


 Timespan tsA.Set(14, 10, 8, 45, 298);

 tsA := -tsA;

 Integer sec := tsA.Seconds(); //Now sec == -45;