Timespan.Hours

Parent Previous Next

Timespan.Hours.

Returns the hours as a value between 0 and ±23.


Syntax.


 Days() : Integer

 


Example:


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

 tsA := -tsA;

 Integer hours := tsA.Hours(); //Now hours == -10;