[Overview][Constants][Procedures and functions][Index] |
Try to encode an interval as a TDateTime value.
Source position: dateutil.inc line 351
function TryEncodeTimeInterval( |
Hour: Word; |
Min: Word; |
Sec: Word; |
MSec: Word; |
out Time: TDateTime |
):Boolean; |
TryEncodeTimeInterval encodes a time interval expressed in Hour, Min, Sec, MSec as a TDateTime value and returns the value in Time. It returns True if Min, Sec, MSec contain valid time values (i.e. less than 60, 60 resp. MSec). The number of hours may be larger than 24.
|
Encode an interval as a TDateTime value. |