EncodeTime(Hour, Min, Sec, MSec: Word): DateTime
Encodes the given hour, minute, second, and millisecond
into a DateTime value. Valid Hour values are 0 through 23. Valid Min and Sec
values are 0 through 59. Valid MSec values are 0 through 999. The
resulting value is a number between 0 and 1 (inclusive) that indicates the
fractional part of a day given by the specified time or (if 1.0) midnight on the
following day. The value 0 corresponds to midnight, 0.5 corresponds to noon,
0.75 corresponds to 6:00 pm, and so on.
d=EncodeTime(19,5,4,200)