TimeOfDay: DateTime;
The TimeOfDay property returns the time component from the current variable.
Sub UserProc;
Var
DT, DT1: DateTime;
Begin
DT := DateTime.Parse("30.03.2002 14:15:20");
DT1 := DT.TimeOfDay;
End Sub UserProc;
After executing the example the "DT" variable contains the date converted from the specified character string. The "DT1" variable contains time component of the "DT" date.
See also: