| [Overview][Constants][Procedures and functions][Index] | 
Encode an interval as a TDateTime value.
Source position: dateutil.inc line 352
function EncodeTimeInterval(  | 
Hour: Word;  | 
Minute: Word;  | 
Second: Word;  | 
MilliSecond: Word  | 
):TDateTime;  | 
EncodeTimeInterval encodes a time interval expressed in Hour, Min, Sec, MSec as a TDateTime value and returns the value in Time.
If Min, Sec, MSec do not contain a valid time indication, then an EConvertError exception is raised.
  | 
Try to encode an interval as a TDateTime value.  |