ComposeTimeOfDay(
Hour: Integer;
Minute: Integer;
Second: Integer;
Millisecond: Integer): DateTime;
Hour. Initial hour
Minute. Initial minute
Second. Initial second
Millisecond. Initial millisecond.
The ComposeTimeOfDay method creates a value of time from the specified input parameters.
Sub UserProc;
Var
DT: DateTime;
Begin
DT := DateTime.ComposeTimeOfDay(14, 20, 5, 15);
End Sub UserProc;
After executing the example the "DT" variable contains the time 14:20:05. The value of the date of this variable will be minimum.
See also: