RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.RecodeMinute Function

Replaces the minute of the hour for a specified TDateTime value.

Pascal
function RecodeMinute(const AValue: TDateTime; const AMinute: Word): TDateTime;
C++
TDateTime RecodeMinute(const TDateTime AValue, const Word AMinute);

Call RecodeMinute to convert the date/time value specified by AValue with the value obtained by changing the minute of the hour to AMinute. Legal values for AMinute range from 0 to 59. 

If the value provided for AMinute is not in the legal range, RecodeMinute raises an EConvertError exception. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!