Datetime.IncMilliSec

Parent Previous Next

Datetime.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:


 Datetime dtTime.SetTime(23, 50, 10, 600);

 dtTime.IncMilliSec(-601);

 Integer x := dtTime.MilliSec(); //Now x == 999;