Millisecond: Integer;
The Millisecond property returns the number of milliseconds in the current variable.
Sub UserProc;
Var
DT: DateTime;
i: Integer;
Begin
DT := DateTime.Parse("01.01.2000 11:11:11.111");
i := DT.Millisecond;
End Sub UserProc;
After executing the example the "i" variable contains the number of milliseconds obtained from converted value of date and time.
See also: