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 Main;
Var
DT: DateTime;
Begin
DT := DateTime.ComposeTimeOfDay(14, 20, 5, 15);
End Sub Main;
After executing the example the "DT" variable will contain the time 14:20:05. The value of the date of this variable will be minimum.
See also: