RAD Studio VCL Reference
|
Replaces the time portion of a specified TDateTime value.
Call RecodeTime to convert the date/time value specified by AValue with the value obtained by changing the hour to AHour, the minute to AMinute, the second to ASecond, and the milliseconds to AMilliSecond.
AHour can range from 0 to 24. If AHour is 24, AMinute, ASecond, and AMilliSecond must all be 0.
AMinute can range from 0 to 59.
ASecond can range from 0 to 59.
AMilliSecond can range from 0 to 999.
If the values provided for AHour, AMinute, ASecond, and AMilliSecond do not fall in the valid range, RecodeTime raises an EConvertError exception.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|