milliSecond

milliSecond(): Integer;

The milliSecond method of the Time primitive type returns the millisecond part of the receiver.

The code fragment in the following example shows the use of the milliSecond method.

if eventTag = 3 then
    displayedTime.setTime(displayedTime.hour,
                          displayedTime.minute,
                          displayedTime.second,
                          displayedTime.milliSecond + 10);
    clockFrame.caption := displayedTime.minute.String[1:2].padLeadingZeros
                          (2) & ":" &
                          displayedTime.second.String[1:2].padLeadingZeros
                          (2) & ":" & displayedTime.milliSecond.String
                          [1:2].padLeadingZeros (2);
    beginTimer(10, Timer_OneShot, 4);
elseif eventTag = 4 then
    ...