Timespan.IncMilliSec

Parent Previous Next

Timespan.IncMilliSec.

Increments the current instance with the specified number of milliseconds. Passing a negative value causes a decrement. Returns Self for a possible continuation of operations.


Syntax.


 IncMilliSec(Integer millisec) : <Self>

 


Example:


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

 tsA.IncMilliSec(-290);

 Integer msec := tsA.MilliSec(); //Now msec == 8;